Formatting pictures MathCad Help

As discussed in previous sections of this chapter, you create pictures in a Mathcad worksheet from matrices, bitmap files, or graphic images pasted from the clipboard. This section describes your options for formatting a picture once you’ve created

Resizing pictures

To resize a picture region, do the following:
• Click the mouse inside the picture region to select it.
• Move the mouse pointer to one of the handles along the edge of region. The pointer will change to a double-headed arrow.
• Press and hold down the left mouse button. With the button still held, drag the mouse in the direction you want the picture region to be stretched. When you change the size of the picture region, the picture inside may be distorted. If you resize the picture by dragging diagonally on the handle in the lower right comer, you will preserve the aspect ratio-the ratio of height to width–of the original picture.

You can also avoid distortion by restoring the original size of the picture region:
• Double-click on the picture itself, or choose Properties from the Format menu.
• This brings up the Properties dialog box .
• Click on the box labeled “Display at Original Size.”
• Click the “OK” button. Mathcad changes the size of the picture to match that of the original image.

Framing a picture

Mathcad allows you to place a border all the way around a picture region. To do so:
• Double-click on the picture itself, or choose Properties from the Format menu. This brings up the Properties dialog box.
• Click on the box labeled “Show Border.”
• Click the “OK” button. Mathcad draws a border around the picture region.

Deleting and moving pictures

Use the Edit menu commands to cut, delete, or copy a picture region. To cut or delete a picture region:
• Click inside the region to select it. This will place a selection box around the picture.
• Press [Ctrl]X or choose Cut from the Edit menu. Choose Delete from the Edit menu to leave the clipboard unaffected.

To copy a picture region:
• Click inside the region to select it. This will place a selection box around the picture.
• Press [Ctrl]C or choose Copy from the Edit menu.
• Click the mouse wherever you want to place a copy of the region and press [Ctrl]v or choose Paste from the Edit menu.

To move a ‘picture region:
• Click inside the region to select it. This will place a selection box around the region.
• Place the pointer on the border of the box. The pointer will turn into a small hand.
• Press and hold down the mouse button.
• Without letting go of the button, move the mouse to where you’d like the picture region.
Note that unlike some applications, Mathcad treats the picture region and the image within it as a single region, not as separate frames. Therefore, when you press [Ctrl]C or [Ctrl]X, Mathcad places both the image and the picture region into the clipboard.

Controlling color palettes

If you are using a 256-color display and have color bitmaps in your Mathcad worksheets, Mathcad by default uses a single 256-color palette to display all the bitmaps in your worksheets. This is the same default color palette Mathcad uses for displaying the rest of the Mathcad screen, and is suitable for most pictures.

This default color palette, however, may not be the exact one that any color bitmaps in a worksheet were designed to use. To improve the appearance of bitmaps in your worksheet, you can tell Mathcad to optimize its default color palette so that it chooses the best possible 256 colors to display bitmaps in the worksheet. To do so:  

Choose Color Optimize Palette from the Format menu. Now Mathcad will survey the pictures in the worksheet and generate an optimal 256-color palette to use for all of them.
• Make sure that Color ~Use Default Palette in the Format menu has a check mark. Then Mathcad will use the new default palette it generates. If you don’t want Mathcad to use one color palette for all color bitmaps, choose Color. Use Default Palette in the Format menu. The check mark next to this option will be removed, and Mathcad will use whatever color palette is best for each picture. The
disadvantage to unchecking Use Default Palette is that the screen may flash as you scroll through a Mathcad worksheet and each 256-color bitmap loads a new palette.

We therefore recommend that you keep a check mark next to the Color Use Default Palette option in the Format menu if you are working in 256-color mode. If your display driver supports a greater number of colors, the palette setting options on the Format menu are grayed out.

Posted on November 20, 2015 in Importing and Exporting Graphics

Share the Story

Back to Top
Share This