Plot 2-D Style Options
plot(f, h, v, style=s)
function(s) to be plotted
(optional) vertical range
line, point, polygon, or polygonoutline
For 2-D plotting, there are four different styles, line, point, polygon (patchnogrid), and polygonoutline (patch). The names in parentheses are aliases for the option values. The default is polygonoutline.
If the style is point, plot simply plots the calculated or given points. These should be given as a list of ordered pairs, that is
The styles line, polygon, and polygonoutline all draw curves by interpolating between the sample points.
If there are polygons in the plot, then the line style draws polygons as outlines only, the polygonoutline style draws polygons as filled with an outline, and polygon draws the polygons as filled with no outline. If there are no polygons in the plot, then these three options are equivalent.
A point style sine curve along with a line style cosine curve
p1 ≔ plot⁡sin⁡x,x=−Pi..Pi,style=point:
p2 ≔ plot⁡cos⁡x,x=−Pi..Pi,style=line:
bowtie ≔ Matrix⁡0,0,0,1,0.5,0.75,1,1,1,0,0.50,0.25,0,0,datatype=float:
The same plot with no outline.
Download Help Document