XY Plot Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
XY Plot Issue
I'm having trouble graphing an XY plot.
See attachment. f1(x) and f2(x) plot fine but f3(x) doesn't show up?
Any suggestions??
Solved! Go to Solution.
- Labels:
-
Other
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Change the range of the variable "x" for the plot -- either define x:=-5,-4.99..5 (using a range variable) or change limit directly in the plot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Change the range of the variable "x" for the plot -- either define x:=-5,-4.99..5 (using a range variable) or change limit directly in the plot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
How did you know to go to -5 for x? When I change the plot to f(x)=-e^-2x the trace disappears again?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
The quickplot feature of mathcad is very convinient but it snot perfect. Normally Mathcad would go through the default abscissa range from -10 to 10 and calculate the ordinate values and scales the ordinate accordingly.
In case of your function this algorithm failed (which it shouldn't and I consider this a bug).
So you can help Mathcad by specifying the endpoint values at the ordinate yourself (see attached sheet). Or alternatively you can change the values at the abscissa (f3(-10) seems to be to large for the quickplot) as Jakov suggested.
If you use range variables, as Jacov has proposed, you have more control over accuracy as you choose the step width yourself. The only disadvantage i Mathcad 15 is, that this variable now has a value (the range) and could not be cleared again for subsquent calculations.
