Is the axis number: 0 for X axis, 1 for Y axis, 2 for Z axis. The function is called with three parameters: If the argument to the TICKFORMAT keyword does not begin with the an open parenthesis, "(", the string is interpreted as the name of a function. Set this keyword to a format string or a string containing the name of a function that returns a string to be used to format the axis tick mark
#Idl plots code#
The following IDL code plots an array using points, and then overplots the smoothed array, connecting the points with lines: For example, a value of -5 plots triangles at each data point and connects the points with lines.
![idl plots idl plots](https://hesperia.gsfc.nasa.gov/rhessidatacenter/complementary_data/goes.h6.gif)
Negative values of PSYM cause the symbol designated by PSYM to be plotted at each point with solid lines connecting the symbols. Horizontal and vertical lines connect the plotted points, as opposed to the normal method of connecting points with straight lines. The keyword SYMSIZE is used to set the size of the symbols. Set this keyword, or the system variable !P.PSYM, to the symbol index as shown in the table below to mark data points with symbols. Normally, PSYM is 0, data points are connected by lines, and no symbols are drawn to mark the points. The following statement produces a contour plot with data plotted in only the upper left quarter of the screen:īecause no space on the left or top edges was allowed for the axes or their annotation, the above described warning message results. Than to manipulate the position of the plot directly with the POSITION keyword. When making more than one plot per page it is more convenient to set !P. The Z specification is always in normalized coordinate units. When plotting in three dimensions, the POSITION keyword is a 6-element vector with the first four elements describing, as above, the XY position, and with the last two elements giving the minimum and maximum Z coordinates. The plot region is the rectangle enclosing the plot window and the annotation. IDL outputs the message "% Warning: Plot truncated." if the plot region is larger than the screen or page size. When setting the position of the window, be sure to allow space for the annotation, which resides outside the window. The value of POSITION is never specified in data units, even if the DATA keyword is present.
![idl plots idl plots](https://i.stack.imgur.com/AsDnL.png)
Coordinates are expressed in normalized units ranging from 0.0 to 1.0, unless the DEVICE keyword is present, in which case they are in actual device units. )], of the lower left and upper right corners of the data window. POSITION is a 4-element vector giving, in order, the coordinates [(X PLOTS, X, Y, CLIP=, /NORM, NOCLIP=0Īllows direct specification of the plot window. To draw a vector using normalized coordinates with its contents clipped within a rectangle covering the upper left quadrant of the display: With PLOTS, POLYFILL, and XYOUTS, this keyword controls the clipping of vectors and vector-drawn text. To enable clipping include the keyword parameter NOCLIP = 0. The default is not to clip the output of PLOTS and XYOUTS. Coordinates are specified in data units unless an overriding coordinate unit specification keyword is present (i.e., NORMAL or DEVICE).
![idl plots idl plots](http://132.248.3.66/~morisset/idl_cours/IDL/images/plotcol.gif)
The default clipping rectangle is the plot window, the area enclosed within the axes of the most recent plot.
![idl plots idl plots](https://i.stack.imgur.com/ECZaY.png)
], giving coordinates of the lower left and upper right corners, respectively. The rectangle is specified as a vector of the form [ Coordinates of a rectangle used to clip the graphics output.