X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 10 Feb 2011 07:38 AM by  anon
Plot without axes?
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
10 Feb 2011 07:38 AM
    This feels like it should be trivial but I've been stuck on it and trying messy workarounds for too long, so here goes: how can I make simple plots (PLOT command) but with the axes either omitted or at least freed from tick marks AND all text? The best I've been able to do is first plot with normal axes, and then overplot with AXIS using YTICKLAYOUT=0 and COLOR set to the background colour, so the desired axis gets overwritten with the background colour and vanishes. This doesn't work well for me in postscript output though, and in any case it seems a slightly bizarre workaround. I've also fiddled with not using PLOT at all but simply OPLOT my data curves and then add all axes manually with AXIS, but this is troublesome when doing multiple plots on the same page (!P.MULTI=something]. I suppose I could use OPLOT and AXIS with manually setting POSITION for each and every subplot but is there really no easier way? I feel like I must be missing something. Thanks in advance. EDIT: Checked on ahead a little bit and found neither OPLOT or AXIS take the POSITION argument, so the last supposed route I mentioned won't work either. I'm officially stuck then. Grateful for any help.

    Deleted User



    New Member


    Posts:
    New Member


    --
    25 Feb 2011 04:33 PM
    Hello Have you tried to specify the xstyle = 4 and ystyle = 4 in the plot procedure to suppress the entire axis ? Cheers, Vincent From IDL help : [XYZ]STYLE Accepted by: AXIS Procedure, CONTOUR Procedure, PLOT Procedure, SHADE_SURF Procedure, SURFACE Procedure. System variable equivalent: ![XYZ].STYLE. This keyword allows specification of axis options such as rounding of tick values and selection of a box axis. Each option is described in the following table: Values for the [XYZ]STYLE Keyword Value Description 1 Force exact axis range. 2 Extend axis range. 4 Suppress entire axis 8 Suppress box style axis (i.e., draw axis on only one side of plot) 16 Inhibit setting the Y axis minimum value to 0 (Y axis only)
    You are not authorized to post a reply.