RedCrab Calculator
 
 

 

    Bubble   Ellipse   Line   Plot   PlotFiveN   Rect   Surface  

Available in RedCrab PLUS

Plot
  • Creates a drawing according to the values of the specified X, Y coordinates
Syntax
  • Plot (x, y, [id, options])
Description
  • Plot (y)

Plots the data Y points on a continuous X axis

  • Plot (x, y)

Plots the data points exactly at the specified X / Y position. The fields of X and Y must have the same length

  • Plot ([-2, 2] , y)

Plots the data points of the Y axis on a continuous X axis. The X axis is scaled from -2 to +2

  • Plot (180 , y)
Draws the data points of the Y axis on a continuous X axis. The X axis is scaled from 0 to 180
  • Plot (x, y, id)
If the worksheet contains multiple plot boxes, the integer number of the optional parameter id determines the box in which the plot is displayed
  • Plot (x, y, "axes:-5, 5, 0, 50)
Axes: changes the ranges of the X and Y scales. Axes: needs four values in the following order for MinX, MaxX, MinY and MaxY. (From version 6.19)
  • Plot (x, y, "dash")
Line styles can be changed to solid, dash, dot
  • Plot (x, y, "spline")
Optionally different plot types can be set (default, line, spline, step, point)
  • Plot (x, y, "marker:line")
Optionally, one of the following markers can be set. (circle, cross, diamond, line, square, triangle, none)
  • Plot (x, y, "marker:5")
A value after Marker: changes the size of the marker
  • Plot (x, y, "title:Name")
Title: changes the text of the legend
  • Plot (x, y, "thickness:3")
Thickness: changes the width of the line
  • Plot (x, y, "color:#rrggbb")
Color:# changes the colour of the line. The colour must be defined in 6 hex digits for red, green and blue
Example
  • In this example the vector X is the base of Y
 
  • The plot function supports other arguments to change the X-scale. This can be another range or a single positive value

  • In this example the argument is a single value, the scale starts with 0, up to the given argument

    Advertisement

 
  • The values of the X vector do not need to have an ascending order. Any point can be in any position
  • If the Y argument is a table (matrix) any row plots a curve
 
  • Several plots can use the same plot box. The X vector and the Y vector can have different ranges
    Advertisement

 
  • Optional different line styles can be set
 
  • Optional different plot types can be set

  • default
  • line
  • spline
  • step
  • point
 
  • Optional one of the following markers can be set
  • circle, cross, diamond, line, square, triangle, none
  • The marker setting in the plot command has a higher priority as the pre setting in the plot box panel

  • The argument "marker:none" disable the marker

  • The argument "marker:12" sets the marker size to 12

  • The pre-setting of size is 6

    Advertisement

           
  Products RedCrab Calculator RedCRab Manual  
      RedCrab Software - Singapore - Sengkang West Way




Hotels Combined INT

Studybay.com INT
Shawacademy.com
Enterprise.com
Skillshare.com INT