Quantcast
Channel: PTC Community: Message List
Viewing all articles
Browse latest Browse all 11560

Re: X Y plots on MathCAD 15.0

$
0
0

Leopold Turek wrote:

 

How did you do the shading/hatching of the area between the two curves in your post above?

When you click in the plot you see that I plotted every function twice. The first two plots are formatted as plot type "error" (open the plot format menu and see yourself). Usally this will draw a vertical double-T line between appropriate points and its a quick and dirty way to get some kind of shading. I plotted these first two functions using a range variable, so only the range between the points of intersection is shaded. This range variable is named x. (note the dot after the x - just like you wanted to type and index. This variable looks like a normal x if you dont click on it). Experiment with the range variable, change the 0.01 to 0.1 and you will see the vertical lines. BTW, its important to plot the shading before the actual curves, otherwise the "shading" will cover (at least partially) the curves.

 

If you search for "hatching" here in the forum you will find other ways of doing it, but all would require more or less complicated user defined functions. The most versatile routine is the one of Prof. Birkeland here http://communities.ptc.com/docs/DOC-3380


Viewing all articles
Browse latest Browse all 11560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>