Plots > XY Plots > Plotting Data > About Plotting Data
About Plotting Data
When you create a plot, the trace type is a Line Trace by default, or a Waterfall Trace if you are plotting a matrix. For matrices, the data in the first column is plotted and the other columns are ignored. Change the trace type to convert the plot into one of the following plots:
Column Plot—Displays data in vertical columns. Sequential data values that belong to different categories are plotted along the horizontal axis at equally spaced intervals. The height of the columns is determined by the number of elements in each category. For histograms, the location of the columns is determined by the x values and their height is determined by the y values.
Bar Plot—Displays data using horizontal bars.
Stem Plot—Displays data as vertical lines, called stems, with a marker symbol at each data value.
Waterfall Plot—Displays line plots of a single matrix of y values versus a single matrix of x values.
Error Plot—Displays vertical line plots of a single two-column matrix of y values versus a single matrix of x values.
Box Plot—Displays statistics and outliers of data sets:
A box spans the range between 25% and 75% of the data set.
A horizontal line within the box shows the 50th percentile.
A vertical line with a small horizontal line at each end, called a whisker, shows the minimum and maximum of the data set.
Outliers are displayed by points above or below the whiskers.
Effects Plot—Displays the average positive and negative response for each factor in a design experiment.
Scatter Plot—Displays a data set as a collection of points. The vector in the x-axis expression determines the position of each point along the horizontal axis and the vector in the y-axis expression determines the positions along the vertical axis.
Additional Information
The maximum number of data points that PTC Mathcad can plot is 2000000.
When the number of elements differs in the arrays of the x-axis and y-axis expressions, only the first elements are plotted. These first elements are defined both in the x-axis and the y-axis expressions. The remaining elements are ignored.
In data sets, NaNs are not plotted.
Was this helpful?