X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 23 Nov 2005 02:16 PM by  anon
question about plot
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
23 Nov 2005 02:16 PM
    PLOT function is not choosing the last number as the ending point. Like, if last number of Axis X is 437, the range of the graph ends at 500, if it's 2600, it ends at 3000. There are always some empty spaces. I need to put the curve exactly from 0 to the end in the graph area. Is there a way of doing this? thanks

    Deleted User



    New Member


    Posts:
    New Member


    --
    23 Nov 2005 02:16 PM
    Vladimir, Look in the Online Help for the PLOT keyword(s) X/Y/ZSTYLE. Setting this keyword to the value of 1 "forces the exact axis range". Thus, the command: PLOT, findgen(438), XSTYLE=1 would force the X Axis to end at value 437. (Because we did not explicitly set YSTYLE, the Y Axis would still range to 500 on the display, but you could set that, too, if you want.) James Jones
    You are not authorized to post a reply.