Archive for: November, 2015

Labeling your graph

Mathcad provides several ways to help you to identify what it is that you’ve plotted. You can choose to display: • A title, either above or below the graph. • Axis labels to describe what’s plotted on each axis. • Legends to identify the individual traces. • Arguments showing what you typed into the x-…

Read More →

Formatting individual curves

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…

Read More →

Formatting the axes

You can reformat your graph’s axes, using the X-Y Axes page of the Formatting Currently Selected X-Y Plot dialog box. To change a graph’s format: • Click in the graph to select it. • Double-click in the graph. Alternatively, choose Graph=:}X-Y Plot from the Format menu. You’ll see the dialog box for formatting X-Y plots. • If…

Read More →

Graphing data

You don’t have to use Mathcad to generate the vectors that you plot, as was done for the example in Figure 20-5. You can create vectors by reading in data from a data file, by pasting in the data from the clipboard, or by typing data directly into an input table. These techniques are described in Chapter…

Read More →

Graphing functions

Each trace on a graph depends on a range variable, and Mathcad graphs one point for each value in the range variable. As mentioned in the previous section, however, Mathcad automatically generates a default range for the dependent variable of an expression you type in the y-axis and creates the graph over it if you do not explicitly define…

Read More →

Graphs

Mathcad graphs are both versatile and easy to use. To create a graph, click where you want to insert the graph, choose Graph-e-X. Y Plot from the Insert menu, and fill in the placeholders. You can modify the format extensively, including reformatting the axes and curves and using a variety of different types of labels The following sections describe…

Read More →

Advantages of using READPRN and WRITEPRN

READPRN is generally preferable to READ. When the data values are regularly listed out in columns, READPRN brings the data into Mathcad in a readily accessible form. If some lines in a data file have more data values than others, data values may be missing. Use a text editor to replace the missing values with zeros before…

Read More →

Scripting the object

To start scripting an object: • Click once on the component to select it. • Click on the component with the right mouse button. • Choose Edit Script from the context menu. You’ll see a new window called the Script Editor containing three subroutine stubs in which you insert your own scripting code. Figure 19-6 shows…

Read More →

Exchanging data with other applications

As described earlier in this chapter, Mathcad can import and export data files in formats recognized by other applications, including data files saved in spreadsheet programs. This is useful when you simply want to connect to a data file as opposed to the application in which it was created. For some work, however, you may need access to…

Read More →

Importing data from the clipboard

In some cases, you may have data stored in a spreadsheet or another application, but you don’t want to import the data as a file into Mathcad. An alternative to importing a file is to copy the data to the clipboard and paste it into Mathcad. To do so • Select the data in the other application…

Read More →

Back to Top