Next: , Previous: , Up: Internal Routines   [Contents][Index]


15.5.293 gplot

gplot[,x],y[,z] [,linetype=ltype,pointtype=ptype,dashtype=dtype] [,color=color,legend=legend,xtitle=xtitle] [,ytitle=ytitle,ztitle=ztitle,title=title] [,/lii,/loi,/lio,/loo] [,/liii,/loii,/lioi,/looi,/liio,/loio,/lioo,/looo]

Plots y versus x, or z versus x and y through the external "gnuplot" program, if that program is available.

To add more data to the plot, use goplot. This causes replotting of all data from the last gplot on. If you want to specify all data before creating the plot, then use gaplot instead.

If only one of x, y, z are specified, then it is interpreted as y and provides the y coordinates of the data points to plot, with default x coordinates. If x and y are specified, then they must have the same dimensional structure. Then the x coordinates are taken from x and the y coordinates are taken from y. If x, y, and z are specified, then all three must have the same dimensional structure and provide the x, y, and z coordinates of the points to plot.

ltype is a positive integer that selects the line type. ptype is a positive integer that selects the point type. dtype is a positive integer that selects the dash type. Depending on which of these are specified, you get a graph showing lines, symbols, or both.

color is text specifying which color to use.

legend specifies the text with which to identify the graph in the legend in the plot.

xtitle provides the title for the x axis.

ytitle provides the title for the y axis.

ztitle provides the title for the y axis.

title provides the main title, displayed above the plot.

Mode parameters /lii /loi /lio /loo specify whether the x and y axes are linear (i) or logarithmic (o) for the x (first i or o) and y (second i or o) axes. Mode parameters /liii /loii /lioi /looi /liio /loio /lioo /looo similarly specify for the x, y, and z axes.


Next: , Previous: , Up: Internal Routines   [Contents][Index]