The columns of data can be three separate column vectors, or they can be contained in a single matrix with three columns. To plot data points, PTC Mathcad needs three columns of data to define the x, y, and z-axis location of the plotted point: one column for the x-axis coordinates and corresponding columns of data for the y-axis and z-axis coordinates. Figures and 8.33 illustrate plots using functions. See Figure The function listed in the z-axis placeholder does not need its arguments. If you use a single-variable function, it will be a two-dimensional plot, plotted on the x-z plane at y=0. The variable listed first in the function or expression is plotted on the x-axis. The order of the variables in the function or expression is important. A function uses the ranges of x and y to generate values for height above the x-y plane. Let’s first discuss how to create a plot from a function. Three-dimensional plots can be created from a function, a matrix, or a set of vectors. You can use your mouse scroll feature to zoom in or zoom out of the plot. To use one of the controls, click it to make it active, then click and drag your mouse within the plot region. The controls on the upper left allow you to rotate the plot, pan the plot, “rubber band” zoom on an area of the plot, or reset the plot to its default view. Once an axis has been selected, the Editing Axis can be used to modify the Lower Limit Tick Mark, the Upper Limit Tick Mark, and the Interval Tick Mark for the selected axis. Use the Axis Selector to select one of the three axes. The vertical axis on the right side of the plot region is the Editing Axis. The Axis Selector is visible in the upper right corner of the plot region. The placeholder location is fixed and cannot be moved. The z-axis placeholder in the lower left is where data for the plot is entered. You insert a 3D plot region by selecting 3D Plot from the Insert Plot control in the Traces group Plot>3D The keyboard shortcut is CTRL + The 3D plot region is shown below. The PTC Mathcad Help Center provides more thorough examples of 3D plotting. This section will only provide an introduction. The topic of three dimensional plotting can become complicated. With 3D plots you can plot surfaces, curves, or data points. PTC Mathcad treats three-dimensional plots and contour plots as two different plot types. The 3D plot region has been improved over Mathcad 15. You cannot change a contour plot to a 3D plot. You can select from a 3D plot or a contour plot. In PTC Mathcad Prime 3.0, contour plots are considered separately from 3D plots. In Mathcad 15, contour plots were considered as a 3D plot. The additional features will hopefully make it into PTC Mathcad Prime 4.0. The 3D formatting features in PTC Mathcad Prime 3.0 are very basic compared to the 3D formatting features of Mathcad 15.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |