Skip to main content
15-Moonstone
February 14, 2021
Solved

Create 2plot &3D

  • February 14, 2021
  • 3 replies
  • 4976 views

Dear all 

I have no idea to write program for plot 2D&3D in mathcad prime  just know 

+ For 2D plot 

      X=3@5,Z=11@4 for all grid

+For 3D plot

        X=3@5,Z=11@4 Y=3@5 for all grid

picture attachments

thank you 

4E90D34D-3942-4AE4-81E2-94E67DB1AFCB.jpeg

Best answer by Werner_E

Found some spare time to modify ttokoros function to work with distance vectors as you need

Werner_E_0-1613420274794.png

It still works using scalars for even spaced grids and if the vector is too small, its last value is repeated as often as necessary.

Werner_E_1-1613420345424.png

 

An alternative approach would be to just provide the three vectors as the number of grid planes can be detected by calculating the vector length.

3 replies

23-Emerald I
February 14, 2021

Please attach the file

ttokoro
21-Topaz I
21-Topaz I
February 15, 2021

image.png

image.pngimage.png

image.png

t.t.
15-Moonstone
February 15, 2021

can I send me mathcad prime?

ttokoro
21-Topaz I
21-Topaz I
February 15, 2021

Yes, you can.

t.t.
Werner_E25-Diamond IAnswer
25-Diamond I
February 15, 2021

Found some spare time to modify ttokoros function to work with distance vectors as you need

Werner_E_0-1613420274794.png

It still works using scalars for even spaced grids and if the vector is too small, its last value is repeated as often as necessary.

Werner_E_1-1613420345424.png

 

An alternative approach would be to just provide the three vectors as the number of grid planes can be detected by calculating the vector length.

ttokoro
21-Topaz I
21-Topaz I
February 18, 2021

longitudinal wave

 

image.png

t.t.
ttokoro
21-Topaz I
21-Topaz I
February 19, 2021

image.png

t.t.