Skip to main content
14-Alexandrite
October 24, 2024
Solved

Singling out points in a plot and drawing the vectors

  • October 24, 2024
  • 1 reply
  • 1652 views

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

YA_10963798_0-1729773062929.png

the result should look something like this:

YA_10963798_1-1729773582329.png

not necessarily the same ,but I need to show the vectors 

Thanks in advance

prime 9 

Best answer by Werner_E

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").

Werner_E_0-1729774909435.png

 

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.

Werner_E_0-1729776196772.png

 

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:

Werner_E_1-1729776900521.png

 

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
October 24, 2024

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").

Werner_E_0-1729774909435.png

 

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.

Werner_E_0-1729776196772.png

 

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:

Werner_E_1-1729776900521.png

 

14-Alexandrite
October 24, 2024

Thank so much . This is really helpful 

ttokoro
21-Topaz I
21-Topaz I
October 24, 2024

image.pngimage.pngimage.pngimage.pngimage.png

t.t.