Create 2plot &3D
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Create 2plot &3D
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
 
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Found some spare time to modify ttokoros function to work with distance vectors as you need
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.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Please attach the file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Tags:
- Electric_circuit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
can I send me mathcad prime?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Yes, you can.
- Tags:
- Prime_6.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
haha sorry
fast typing. Can you send mathcad ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@SPRstructur wrote:
Can you send mathcad ?
Not sure what you mean? You asked for a solution done in Prime and ttokoro finally already has attached his sheet.
If you are now looking for a solution done in real Mathcad (=MC15 or below), you must be aware that ttokoro's solution won't work in Mathcad for two reasons:
1) Mathcad's 3D component won't accept the simple data structure created by ttokoros fucntion (this could easily be repaired)
2) Mathcad's 3D plot unfortunately does not accept NaN's. Thats severe and would require some major changes or a complete rewrite
Here's a possible solution done in MC15:
 
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
wow great! in mathcad 15
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello, @Werner_E , if i try to give different (x1# x2 # x3) (y1 # y2 #y3) and (z1 # z2 #....z11) but error as pic below. if can, you please do in Mathcad prime. Big Thank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Both my and also ttokoros solution work just for an equally spaced grid along each axis as in your first request.
It sure should be possible to change the functions to do what you obviously want, but it would require putting some additional work into it.
As you seem to look just for a Prime solution, I'll leave up to ttokoro to modify his function.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@ttokoro , if i try to give different (x1# x2 # x3) (y1 # y2 #y3) and (z1 # z2 #....z11) but error as pic below.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Found some spare time to modify ttokoros function to work with distance vectors as you need
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.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
longitudinal wave
- Tags:
- Prime_6.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator