parallel to the y-Axis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
parallel to the y-Axis
Hi,
i am a little stuck here. I have to plot some functions in one coordinate system, whithin two parallelels to the y-axis.
for example if I want to plot x = 0.0075, x = 0.4 and f (x) = 4x +5 in one system, how should I proceed. The function f(x) is no problem, but i cant get Mathcad to plot x=0.4 and so on...
I use mathcad 14th
thanks a lot,
Peter
Solved! Go to Solution.
- Labels:
-
Other
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Peter,
2 ways to add markers.
Easy way is to right click on the graph, select format from the pop-up menu and then tick the Show markers checkbox for either/both X & Y axes. click OK to finish.
On the graph now you should have 2 small black squares (placeholders) on the selected axes.
select one of them and enter the numberr you need.
Slightly harder way is:
If you want to add a horizontal line to a simple X-Y plot, seletct the Y-axis function place holder type a ',' (Comma) which should give you a new placeholder that allows a second trace to be added to the plot.
In this place holder type a value (say 0.4) and for a simple graph it should show a secondary line.
To add a vertical line, the same procedure will work on the X-axis placeholder.
You may need to add aa second (matching) entry on the Y-axis , MathCad does its best but once you start adding multiple graphs onto one plot it can get confused.
E.g. the Y-axis place holder will contain "f(x),y" and the X-axis "x,0.4"
Hope this makes sense.
Andy
NB: it usually helps to add you work sheet so that we can try to understand where the specific sticking point is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Peter,
2 ways to add markers.
Easy way is to right click on the graph, select format from the pop-up menu and then tick the Show markers checkbox for either/both X & Y axes. click OK to finish.
On the graph now you should have 2 small black squares (placeholders) on the selected axes.
select one of them and enter the numberr you need.
Slightly harder way is:
If you want to add a horizontal line to a simple X-Y plot, seletct the Y-axis function place holder type a ',' (Comma) which should give you a new placeholder that allows a second trace to be added to the plot.
In this place holder type a value (say 0.4) and for a simple graph it should show a secondary line.
To add a vertical line, the same procedure will work on the X-axis placeholder.
You may need to add aa second (matching) entry on the Y-axis , MathCad does its best but once you start adding multiple graphs onto one plot it can get confused.
E.g. the Y-axis place holder will contain "f(x),y" and the X-axis "x,0.4"
Hope this makes sense.
Andy
NB: it usually helps to add you work sheet so that we can try to understand where the specific sticking point is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Andy,
i just tried what you said.
The version with the makers is working quite well, but its limitet to two makers per axis. The second version is the one i tried to get working on my own but the promlem is this graph isn't going the whole way up and down.
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Peter,
the graph usually manages to get it right & fill the width (or height) but if (as in your case) it doesn't,
you can force the range that it plots by creating a range variable.
As the information above , before the graph , define the variable y as "y:-40;60" or "Y:-40,-39;60"
Set the end point to suit your graph.
This will force mathcad to plot a range that you want.
Regards
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks a lot
now it's all working!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
We can have in Mathcad Prime a lot of parallel to the y-Axis
It is one why I like Mathcad Prime!
