Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

** Community Tip** - Want the oppurtunity to discuss enhancements to PTC products? Join a working group!
X

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Feb 14, 2021
07:18 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Feb 14, 2021
07:18 AM

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.

1 ACCEPTED SOLUTION

Accepted Solutions

Feb 15, 2021
03:20 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Feb 15, 2021
03:20 PM

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.

13 REPLIES 13

Feb 14, 2021
07:41 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Feb 14, 2021
07:41 AM

Please attach the file

Feb 15, 2021
07:15 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Feb 15, 2021
07:15 AM

- Tags:
- Electric_circuit

Feb 15, 2021
07:18 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Feb 15, 2021
07:18 AM

can I send me mathcad prime?

Feb 15, 2021
07:24 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Feb 15, 2021
07:24 AM

Yes, you can.

- Tags:
- Prime_6.0

Feb 15, 2021
07:27 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Feb 15, 2021
07:27 AM

haha sorry

fast typing. Can you send mathcad ?

Feb 15, 2021
11:03 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Feb 15, 2021
11:03 AM

@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:

Feb 15, 2021
11:15 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Feb 15, 2021
11:15 AM

wow great! in mathcad 15

Feb 15, 2021
11:42 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Feb 15, 2021
11:42 AM

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.

Feb 15, 2021
11:55 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Feb 15, 2021
11:55 AM

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.

Feb 15, 2021
11:47 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Feb 15, 2021
11:47 AM

@ttokoro , if i try to give different (x1# x2 # x3) (y1 # y2 #y3) and (z1 # z2 #....z11) but error as pic below.

Feb 15, 2021
03:20 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Feb 15, 2021
03:20 PM

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.

Feb 18, 2021
06:01 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Feb 18, 2021
06:01 PM

longitudinal wave

- Tags:
- Prime_6.0

Feb 19, 2021
06:29 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Feb 19, 2021
06:29 AM