Technical Support
Forums and Mailing Lists
Search Mackichan Web

SWP & SW
Version 5/5.5

Installation
Word Processing
Computations
Typesetting
File Issues
Graphics
Exam Builder
Style Editor
Other
Free Updates
Technical Articles

Scientific Notebook
Support Information
Troubleshooting

TeXnology
BibDB
TeXnology links

Document 639

Creating shaded regions in plots

Version: 5.x - Scientific WorkPlace & Scientific Notebook

Adapt this method to create shaded regions in your plots.

  1. Define $f\left( x\right) $, $g\left( x\right) $, $a$, $b$, and $n$, where MATH on the interval $a\leq x\leq b$ and $n$ is a (large) positive integer.

  2. Plot MATH

  3. Revise the plot so that Interval is $0\leq t\leq 1$ and the Points Sampled is $n+1$.

Here's an example of how well this method works:

  1. From the Compute menu, choose New Definition to create these new definitions:

    MATH

    MATH

    $a=-1$

    $b=2$

  2. Enter MATH

  3. From the Compute menu, choose Plot 2D and then choose Parametric.

  4. On the Items Plotted tab, choose Variables and Intervals.

  5. Revise the plot so that Interval is $0\leq t\leq 1$ and the Points Sampled is $301$, and choose OK.

  6. On the Items Plotted tab, change the Plot Color to yellow and the Line Thickness to Thick.

  7. Choose OK.

    You see this plot with the shaded area.


    Shaded plot

See also 618: Shading regions in graphs.

Last revised 01/23/06



MacKichan Software, Inc. 19689 7th Avenue NE, Suite 183 #238 Poulsbo, WA 98370
Phone: 360-394-6033 Toll-free: 877-724-9673 Fax: 360-394-6039

Please email comments and suggestions regarding this site to webmaster@mackichan.com.
© Copyright 1998 - MacKichan Software, Inc. All rights reserved.