Page History: Graphs
Compare Page Revisions
Page Revision: 2015/08/27 22:44
How to add an empty graph
You can add a 2D/3D Graph from the
Insert item in the menu bar:
Insert > Plot > 2D / 3D
Keyboard shortcut: a 2D Graph can be added directly typing @
Now an empty graph will be added:
Plot equations
Variables to plot equations must be:
NOTE: variables are case sensitive (x is different from X)
You have multiple ways to plot equations:
Directly from the plot window
Indirectly, building your equation outside the plot window
Plot matrices
You can plot figures from
matrices (directly or indirectly):
- 2 columns matrices for 2D plots
- 3 columns matrices for 3D plots
Multiple plots
You can plot multiple equations/matrices on the same graph using the
Multiple values item on the Functions
toolbox:
Each "value" will be colored differently (cycling between 6 colours, in the following order: blue, red, green, magenta, orange and brown)
Special plots (words, points, colors...)
You can plot words or characters (strings) on your 2D graphs;
- Special characters (case sensitive) have position fixed on center on the given coordinates: + . * o x;
- Words, phrases or non-special characters have top-left corner of (virtual) textbox fixed on the given coordinates;
- Size and color columns are not required (so you can use a 3, 4 or 5 columns matrix);
- Values of size column are absolute, so the resize action does not affect the appearance of special plots;
- Many colors are allowed, using web format (like "#6699CC" or "#FF6699CC") or by name; here is a complete list of possible colors:
aliceblue, antiquewhite, aqua, aquamarine, azure,
beige, bisque, blanchedalmond, black, blue, blueviolet, brown, burlywood,
cadetblue, chartreuse, chocolate, coral, cornflowerblue, cornsilk, crimson, cyan,
darkblue, darkcyan, darkgoldenrod, darkgray, darkgreen, darkkhaki, darkmagenta, darkolivegreen, darkorange, darkorchid, darkred,
darksalmon, darkseagreen, darkslateblue, darkslategray, darkturquoise, darkviolet, deeppink, deepskyblue, dimgray, dodgerblue,
firebrick, floralwhite, forestgreen, fuchsia,
gainsboro, ghostwhite, gold, goldenrod, gray, green, greenyellow,
honeydew, hotpink,
indianred, indigo, ivory,
khaki,
lavender, lavenderblush, lawngreen, lemonchiffon, lightblue, lightcoral, lightcyan, lightgoldenrodyellow, lightgray, lightgreen,
lightpink, lightsalmon, lightseagreen, lightskyblue, lightslategray, lightsteelblue, lightyellow, lime, limegreen, linen,
magenta, maroon, mediumaquamarine, mediumblue, mediumorchid, mediumpurple, mediumseagreen, mediumslateblue, mediumspringgreen,
mediumturquoise, mediumvioletred, midnightblue, mintcream, mistyrose, moccasin,
navajowhite, navy,
oldlace, olive, olivedrab, orange, orangered, orchid,
palegoldenrod, palegreen, paleturquoise, palevioletred, papayawhip, peachpuff, peru, pink, plum, powderblue, purple,
red, rosybrown, royalblue,
saddlebrown, salmon, sandybrown, seagreen, seashell, sienna, silver, skyblue, slateblue, slategray, snow, springgreen, steelblue,
tan, teal, thistle, tomato, turquoise,
violet,
wheat, white, whitesmoke,
yellow, yellowgreen
NOTE: You can use darkblue, DarkBlue, Dark Blue (recommended), DARKBLUE, D a R k B l U e ant etc...
all spaces will be removed and color name will be converted to lower case chars.
It is possible to plot a single column vector using as index the x variable.
In the plot any x value will be rounded and, if possible, the corresponding vector element will be used as y value:
inside plots.
Because the output units of calculations are base units (f.e. meters for any length unit), you have to scale the input or adjust the viewport.
A dedicated plot palette allow some operations on the graph.
Clicking with the right mouse button on the graph appears a context menu that contains other options.