Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hi there,
I have this plot which has ( x, y ) and A and B are points in this plot>>> I want to show this point in different colour and then draw the vector of them AB
and then I have another x and y ( x;cpt , y;cpt different values) I want to show point C,cpt in the same previous plot
then draw the vector component of AB and C,cpt
the result should look something like this:
not necessarily the same ,but I need to show the vectors
Thanks in advance
prime 9
Solved! Go to Solution.
To plot a single point, you simply put its x-ccordinate at the abscissa, its y-ccordinate at the ordinate, chose a Symbol rom the menu and plot (you may chose line style "none").
If you don't need the two points in different colors, you may combine their coordinates. Use a vector with all x-coordinates at the abscissa and a vector with the corresponding y-coordinates at the ordinate. You may also choose a line stye to connect the points. Unfortunately Symbol size and thickness of he line cannot be chosen independently.
In both cases because of the values used your main plot (Y over X) is just seen very tiny at the upper right corner of the plot.
To draw a vector you would have to use a small program to do so. I happen to have posted one not too long ago.
"How to Plot Vector Arrows in Mathcad: Need Guidan...
Of course you would not only have to provide the vector B-A but also the point the drawing of the arrow should start from.
See here for another thread dealing with drawing arrows/vectors in Prime
Solved: Plotting complex numbers in Mathcad Prime 2.0
BTW, none of the functions so far will deal with plots where the two axis are differently scaled. The arrow head will look somewhat distorted in such cases:
To plot a single point, you simply put its x-ccordinate at the abscissa, its y-ccordinate at the ordinate, chose a Symbol rom the menu and plot (you may chose line style "none").
If you don't need the two points in different colors, you may combine their coordinates. Use a vector with all x-coordinates at the abscissa and a vector with the corresponding y-coordinates at the ordinate. You may also choose a line stye to connect the points. Unfortunately Symbol size and thickness of he line cannot be chosen independently.
In both cases because of the values used your main plot (Y over X) is just seen very tiny at the upper right corner of the plot.
To draw a vector you would have to use a small program to do so. I happen to have posted one not too long ago.
"How to Plot Vector Arrows in Mathcad: Need Guidan...
Of course you would not only have to provide the vector B-A but also the point the drawing of the arrow should start from.
See here for another thread dealing with drawing arrows/vectors in Prime
Solved: Plotting complex numbers in Mathcad Prime 2.0
BTW, none of the functions so far will deal with plots where the two axis are differently scaled. The arrow head will look somewhat distorted in such cases:
Thank so much . This is really helpful
Hi ttokoro ,
thank you for your reply.
What does the 13i/(2*50) represent?
Yusra
It is a normarized factor to arrow for x and y direction.
So if you expand the plot x axis like my picture, you need modify the factor value like 13i/(2*50).
(x:y=2:1) for 13i/(2*50). If (x:y=1:1), it is 13i/(1*50)
13 and 50 is Xmax 130000 and Ymax 500000...
Hi Werner,
I hope you are doing well.
Can you please take a screen shot of ( Re) function .. thanks
@YA_10963798 wrote:
Hi Werner,
I hope you are doing well.
Can you please take a screen shot of ( Re) function .. thanks
Sorry, I don't understand your question!?
"Re" and also "Im" are built-in functions which return the real- and the imaginary-part of a complex number.