Formatting individual curves MathCad Help

You can reformat the traces on your graph, using the Traces page of the dialog box for formatting X-Y graphs.

• Click in the graph to select it.
• Double-click in the graph. Alternatively, choose Graph~X.Y Plot from the Format menu. Mathcad displays the dialog box for formatting X-Y graphs.
• If necessary, click the Traces tab to display the Traces page.
• Click on the line in the scrolling list box for that trace. To change the name of the trace, type the new name in the text box under the “Legend Label” column. To change the symbol or marker, line type, color, trace type, or line weight of this trace, click on the arrow beside each text box to see a drop-down list of options, and then click on the option you want. See the next section, “Trace settings,” for complete explanations of the various options in these lists.
• Click “OK” to accept your changes and close the dialog box. Mathcad redraws the graph with the new settings in effect. Alternatively, click “Apply” to preview your changes without closing the dialog box.

Formatting individual curves

Formatting individual curves

Trace settlnqs

A graph can have up to sixteen individual traces. Each trace is described by a line in the scrolling list. Mathcad uses these lines as needed, assigning one for each trace in your graph. Each line has six fields:

Legend Label

This is the name of the trace as it would appear in the legend beneath the plot. See the section “Displaying or hiding arguments and legends” on page 484 for more


This controls whether each point on the curve is marked with a symbol. You can mark each point with either an “x,” a “+,” a hollow box, a hollow diamond, a circle, or no symbol at all. If you have a lot of points packed closely together, you should probably select “none.” Figure 20-19 on page 490 shows an example in which each
data point is marked by with an


This controls whether the line is solid, dotted, dashed, or whether it consists of alternating dashes and dots. This feature provides a useful way to distinguish unmarked curves in black and white printouts.


This controls whether the selected trace is red, blue, green, magenta, cyan (a light blue), brown, black, or white. Mathcad ignores this on monochrome displays.


This controls the type of trace that will be displayed. Mathcad can generate the following types of plots: curves, bar graphs, stepped curves, error bars, stem graphs, and points. Figure 20-17 on page 489 has examples of step graphs and error bars. Figure 20-18 on page 490 has examples of stem graphs and bar graphs


This controls the weight or thickness of the trace. Select from 1 to 9 (thinnest to thickest). Select “p” for a trace that is one device pixel wide. Although this may look like weight 1 on your screen, a high resolution printer will print it as a very fine line. This field also controls the size of the symbols marking data points, if you have selected a symbol other than “none”. If you have selected trace type points, this field sets the weight of the dot plotted at each data point.

See “Setting default formats” on page 479 to learn how to:

• Quickly restore the graph to its default format settings.
• Use a particular graph as a model for all future graphs.

In addition to the scrolling list and its associated text box and lists, the Trace page has two check boxes: Hide Arguments and Hide Legend. These are explained fully in the “Displaying or hiding arguments and legends” on page 484

Setting default formats

Mathcad uses default settings to format the axes and traces of new graphs as you create them. You can change these defaults in two ways

• By saving as defaults the settings of your current graph

•By using the Setting Default Formats for X-Y Plots dialog box, if you don’t want to use an existing graph

Copying defaults from an existing graph

One way to create a new set of defaults is to use the format settings of an existing graph. The advantage of this method is that you can actually see how the format settings look as you define them

To use the format of a particular graph as the default graph format:

• Click in the graph to select it.
• Choose Graphee X-Y Plot from the Format menu or double-click on the selected graph. Mathcad displays the dialog box for formatting X-Y graphs. If necessary, click on the Defaults tab to see the Defaults page.
• If the Use for Defaults check box doesn’t contain a check, click on it to add one. When you close the dialog box, Mathcad saves these settings as your default settings.

Copying defaults from an existing graph

Copying defaults from an existing graph

Setting defaults without using a graph

You don’t have to use an existing graph to create or revise default formats. Instead, you can use the X-Y Axes page on the dialog box for setting X-Y plot defaults. To set defaults this way:

• Make sure that you don’t have any graphs selected.
• Choose Graph~X-Y Plot from the Format menu. You’ll see the dialog box for setting X-Y graph defaults. The following figure shows an example of this dialog box with the X-Y Axes page displayed.
• Change the appropriate settings on the X-Y Axes and Traces pages.
• Click “OK” to accept your changes and close the dialog box.

Using default graph settings

If you want to reverse the format changes that have been made to a graph since it was created, you can restore its original default settings. To restore the original defaults:

• Click the Defaults tab on the dialog box for formatting X-Y graphs. (See the figure on page 480.)
• Click “Change to Defaults.”
• Click “OK” to close the dialog box.

Mathcad redraws the graph, using the default format settings that were in place when the graph was first created

Posted on November 24, 2015 in Graphs

Share the Story

Back to Top
Share This