To change the size of a bar chart, follow these steps:
• Click in the bar chart to select it.
• Move the mouse pointer to one of the three handles along the edge of the bar chart.
The pointer will change to a double-headed arrow,
Press and hold down the mouse button. While holding down the button, move the mouse. The bar chart will stretch in the direction of motion.
• Once the bar chart is the right size, let go of the mouse button.
• Click outside the bar chart to deselect it.
Formatting 3D bar charts
Mathcad provides many ways to change the way a bar chart looks. These can be calegorized in four groups:
• Viewing characteristics: the type of plot being displayed; the perspective or point of view; how tall the tallest bars are; and the presence or absence of borders, enclosing boxes, axes, and coordinate planes.
• Color and line formatting: how the bars are colored; how the bars are laid out; spacing between the bars.
• Axis formatting: whether to show tick marks or grid lines on each axis.
• Title characteristics: how the bar chart will display titles.
To change any of these characteristics, start with the 3D Plot Format dialog box:
• Click on a bar chart to select it.
• Choose Graphee-Sl) Plot from the Format menu. Alternatively, double-click on the chart itself. Mathcad brings up the 3D Plot Format dialog box. The View Page of this dialog box is shown below.
The remaining three tabs take you to three additional pages.
• If necessary, click the tab for the page you want to work with.
• Make the appropriate changes in the dialog box.
• To see the effect of your changes without closing the dialog box, click “Apply”.
• When you’re finished, close the dialog by clicking “OK.”
Changing your view of the 3D bar chart
The View page of the 3D Plot Format dialog box lets you modify the general presentation of your bar chart.
To change from a bar chart to another type of 3D plot, click on the appropriate button in the Display As group. You can convert a bar chart into a surface plot or a contour plot. These plot types are fully discussed in the corresponding chapters of this User’s Guide. You can also display just the points at the top of the bars. To do so, click on Data Points. You can change how the points look by using the Colors & Lines tab of this dialog box. For more information, see Chapter 25, “3D Scatter Plots.” To change the perspective, or point of view, from which you see the bars on your chart, adjust the numbers in the Rotation and Tilt text boxes. Use an integer between 0 to 360 degrees. Figure 24-2 shows the effects of varying the rotation and tilt (as well as the vertical scale) of a bar chart.
• Increasing the vertical rotation turns the chart clockwise. When the rotation is set to 0, you look straight down the first column of the matrix. The first row of the matrix points to the right. When the rotation is set to 90, you look straight down the first row of the matrix. The first column points to the left.
• Increasing the tilt raises you higher above the chart’s surface. When the tiit is set to 0, you look edge on at the plane of the matrix. When the tilt is set to 90, you look straight down on the tops of the bars. Think of how tall buildings look when you’re on the ground (tilt equals 0) and when you’re flying directly above (tilt equals 90).
To control how tall the tallest bars look, adjust the vertical scale by changing the number in the Vert. Scale text box. This is an integer between I and 100. When the vertical sc!de is small, the variations among the bars will barely be perceptible. At 100, the variations are such that the chart fills almost the entire frame. Figure 24-3 shows the effects of varying the scale (as well as the rotation and tilt) of a bar chart. To add or remove a border around the bar chart, click on Show Border in the Frames group. The border is a two-dimensional frame around the bar chart.
To enclose the surface and the axes within a three-dimensional bounding box, click on Show Box in the Frames group.
To show the xy, xz, and yz back planes:
• Click on “Show” in the Back Planes group.
• To color the surface of the back planes, click on “Fill Color”.
• To outline the edges of the back planes in a particular color, click on “Edge Color”. The same bar chart with back planes, with a border, and with a bounding box.