cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Multiple-Variable Functions and Plotting - New Critical Limitation?

ptc-1929206
1-Visitor

Multiple-Variable Functions and Plotting - New Critical Limitation?

Hi,

I'm trying to switch to Prime. Here is a show-stopper that will have me trying Maple for the first time if I can't get it resolved:

I frequently need to create functions with many input variables (sometimes over 10) and plot the results many ways. To work in a 2-D plot, I used to just set some of the variables to constants in the function name in the plot itslef. This no longer seems to work.

I tried an alternate path of using matrix subscripts, but appear to have hit the same limitation.

Show.Stopper.

Am I missing that this very critical past feature is now entirely gone?

Thanks.

15 REPLIES 15
Werner_E
25-Diamond I
(To:ptc-1929206)

I'm trying to switch to Prime.

My god, why?? Switching means you are using Mathcad 14 or 15 now, right? So why would you voluntarily switch to an inferior version?

I frequently need to create functions with many input variables (sometimes over 10) and plot the results many ways. To work in a 2-D plot, I used to just set some of the variables to constants in the function name in the plot itslef. This no longer seems to work.

2D-plots in Prime have many flaws but what you tried should work, as I understand it. Are you trying to plot a family of curves? Then you should explicitely chose waterfall plot in Prime. This was not necessary in Mathcad and as I had read will not be necessary anymore in Prime 3.

Think it would be a good idea to attach a worksheet (upper right - advanced editor) so we can see what you are trying to do.

Werner_E
25-Diamond I
(To:ptc-1929206)

Think my remark about the waterfall plot was not appropriate - it refers to plotting matrices.

What I understood from your writing was that you are trying to so something like the attached. It works, but sometimes you have to change the labels of the variables (from variable to none or vice versa) - this is a very annyoing thing in Prime!

MultVarPlot.png

One other way:

yx.png

Nice.

Its a shame we cannot plot family of curves as in Mathcad 15 and below - at least not the easy way. We would have to create matrices to plot via waterfallplot (which at least will be default for matrices in Prime3). Any chances we get the easy way back?

BTW, what screen capture program are you using? Why is it that ibn your pic we see the single characters the brackets and parentheses are consisting of? Or is this the new to come copy/paste feature of Prime 3ß ? Using a capture prog I get the following:

valery3.png

Werner Exinger wrote:

BTW, what screen capture program are you using? Why is it that in your pic we see the single characters the brackets and parentheses are consisting of? Or is this the new to come copy/paste feature of Prime 3ß ? Using a capture prog I get the following:

I see this pocture on my Mathcad Prime 2 screen:

http://communities.ptc.com/servlet/JiveServlet/downloadImage/2-209780-53934/310-324/yx.png

Werner Exinger wrote:

Its a shame we cannot plot family of curves as in Mathcad 15 and below - at least not the easy way.

One way:

FamPlot.png

The file is here - http://twt.mpei.ac.ru/ochkov/Mathcad_12/2D_Plot_y_x_a.xmcdz

Thanks, Valery! I haven't tried but I guess this would work in Prime, too (apart from the Ctrk-K trick for the y(x) variable, which would not be necessary anyway).

But on my wishlist is the much easier method you can see below, which does not work anymore in Prime

(note that I had to switch the parameters in y() to make it work)

familiy.png

Werner Exinger wrote

But on my wishlist ...

Can you show it?

My one is here http://communities.ptc.com/groups/mathcad-pm-prime-minister and here http://communities.ptc.com/polls/1134

Valery Ochkov wrote:

Werner Exinger wrote

But on my wishlist ...

Can you show it?

My one is here http://communities.ptc.com/groups/mathcad-pm-prime-minister and here http://communities.ptc.com/polls/1134

From what I have seen and experienced from/with PTC so far, there is not much sense in propagating wishes, ideas for improvements, etc. Its a company with a somewhat strange marketing, sales and customer care philosophy and seems not to be willing or not to be able to listen to their customers and (re)act accordingly.

So I condsider it wasted time for me, setting up polls or inventing phantasy versions of Prime.

Werner Exinger wrote:

Thanks, Valery! I haven't tried but I guess this would work in Prime, too

In Mathcad server too

http://twtmas.mpei.ac.ru/mas/Worksheets/2D_Plot_y_x_a.mcd

Possible variant of plotting multiple functions (worksheets for MC14/15 and Prime 3 in attachment):

Pic_1.PNG

Pic_2.PNG

Werner Exinger wrote:

BTW, what screen capture program are you using? Why is it that ibn your pic we see the single characters the brackets and parentheses are consisting of? Or is this the new to come copy/paste feature of Prime 3ß ?

If I may. Both pics are in MathcadPrime 2.0, using the same method to copy them.

MathcadPrime+2.0.png

Werner_E
25-Diamond I
(To:MihaiMoraru)

Oh my god, it depends on the screen scale - wouldn't have thought of that.

Werner Exinger wrote:

Oh my god, it depends on the screen scale - wouldn't have thought of that.

I was expecting to depend also on the selected Screen Resolution of the monitor... but is not.

Werner_E
25-Diamond I
(To:MihaiMoraru)

I guess its a combination of both, but it shouldn't happen anyway.

Announcements

Top Tags