Edit Properties in Workarea
You can edit the properties of a Figure from within the Workarea.
On this page the possibilities of managing properties in the Workarea will be explained.
You can also adjust all properties in the Property window, as described on the page Property window.
There are two types of properties: Properties belonging to the Figure, and properties of the plotted functions.
In general, properties work the same way as variables. Just enter for example "xMin=-3" to set the value of xMin to -3.
You can also use properties in expressions, for example "2*yTrace + 3.1".
The Figure Properties can be specified inside a plot command, but you can also adjust them before or after plotting a function.
The properties will be applied on the current active figure.
Not all available Figure Properties can be changed in the Workarea, fonts and linestyles can only be adjusted in the Property window.
When you have multiple figures opened, be sure that you have the right Figure active when changing a property.
' Some lines end with a semicolon to hide the answer line
' Define some properties beforehand
Figure = 4;
AxesType = Boxed;
xMin = -3;
xMax = 2;
' Plot a function, and specify some other properties
Plot(Exp(0.5*x) * Sin(2*x), Title = My figure)
' Define some properties afterwards
GridStyle = Off;
LegendPos = TopLeft;
xTrace = -1.9;
' Get the value of a property
yTrace = 0.236630547
The Function Properties can only be given inside the plot command.
The alternative way of changing Function Properties is with the Edit Function Dialog, as described on the page Edit Function.
When you have a plot command with multiple functions, you can enter Function Properties for each of these functions.
The commands in the following example give the same result.
Plot(Cos(t), variable=t, Legend=My Cosine, Color=Pink, Width=2)
Plot(Sin(x), Cos(x), Color=Pink, Color=Purple)
Plot(Sin(x), Color=Pink, Cos(x), Color=Purple)
Here a short overview of all available properties.
For a more detailed description read the page Property Window.
Note that all properties are also listed in the Functionstree.
The following Figure Properties are available.
|Figure ||1 to 9|
|GridStyle ||On, Off|
|LegendStyle ||On, Off|
|LegendPos ||BottomLeft, BottomRight, TopLeft, TopRight|
|AxesStyle||Normal, Boxed, None|
|AxesType ||Linear, LogX, LogY, LogLog|
The following Function Properties are available.
|Property ||Available values|
|Color ||Colorname or expression|
|Visible ||True, False|
|yTrace ||yTrace is read only|
For examples, see the examples on the page Plot Functions.