Skip to main content

Scatter Plotting Tutorial



  • In addition to the capability to easily plot user defined functions (see the Plotting and Functions tutorial), EngineeringPaper.xyz now has the capability to plot scatter plots with one or more points. This capability takes advantage of the matrix and vector features that were recently added (see the Matrices and Vectors tutorial). To create a scatter plot, create a query statement with two vectors separated by a comma following by an equals sign. See the plot cell below for an example of this notation. The vectors may be either column vectors or row vectors, they just need to have the same length.



  • 11.522.533.544.5511.522.53


  • Scatter plots may be combined with plots of functions as show in the following example:





  • 01234560123456


  • A single point can be plotted by using a pair of scalar values instead of a pair of vectors as shown in the next example:



  • 11.522.533.544.5511.522.53


  • The scatter plot can be plotted as lines instead of points by adding "as lines" after the pair of vectors as shown below:



  • 11.522.533.544.5511.522.53


  • Units are supported as well and the units for the plot axes can be specified by placing the desired x and y units after the equals sign separated by a comma as shown below:



  • 1000150020002500300066.577.58


  • Finally, the scatter plot capability can be used to create simple drawings as shown in the following example:













  • 20406080100120140160−160−150−140−130−120−110−100−90