Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline BridgeNut  
#1 Posted : 13 May 2020 22:26:48(UTC)
BridgeNut

Rank: Newbie

Groups: Registered
Joined: 12/05/2020(UTC)
Posts: 7
Man
United States

Hello again,

Question: Below is a screenshot of a 2D plot I can pull off in Mathcad. Does Smath studio have the ability to do similar? I was looking in the wiki and other examples, it seems as if they might be an option, but I can't find anything for defining X-Y plot limits. I think I can pull off the multiple lines with the System of Values smath command, and get each of those durometer lines at 12, 9, 6, 5, 4, and 3. But I am struggling with getting it to plot anything at all.

Mathcad:

Annotation 2020-05-13 152002.png

What I have in Smath so far:

Annotation 2020-05-13 1520021.png

FYI, I use Sigma.comp in several places in the worksheet, and it returns expected values. So that definition and the linear interpolation is functioning properly. Thoughts?

Thanks,
Mike

Edited by user 15 May 2020 04:17:27(UTC)  | Reason: Not specified

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline uni  
#2 Posted : 13 May 2020 23:49:34(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Try X-Y Plot Region and attach the document.

Edited by user 13 May 2020 23:54:07(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
Offline Jean Giraud  
#3 Posted : 14 May 2020 01:14:45(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: uni Go to Quoted Post
Try X-Y Plot Region and attach the document.

Yes because in that one you seem missing, the boat.
Offline BridgeNut  
#4 Posted : 14 May 2020 19:26:05(UTC)
BridgeNut

Rank: Newbie

Groups: Registered
Joined: 12/05/2020(UTC)
Posts: 7
Man
United States

Thanks...I did not have X-Y Plot region addon. With it - I was able to get an output:

Annotation 2020-05-14 122237.png

Does all that I need it to do. Only other option - see how MathCAD allows inverting access, or call Y-Axis range into equation. So I reversed position as X-Y Plot only seems to pull input from X-Axis. Is there a way to call Y-Axis?

Offline uni  
#5 Posted : 14 May 2020 20:26:55(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
If you attach the document I'll try to show how to invert axes.
Russia ☭ forever
Viacheslav N. Mezentsev
Offline Jean Giraud  
#6 Posted : 14 May 2020 21:18:51(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Tabulate discrete, inverse the collection ...
NO work sheet [NO patient] => NO doctoring.
Offline Jean Giraud  
#7 Posted : 14 May 2020 22:14:59(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
ReversePlot.PNG
Offline BridgeNut  
#8 Posted : 14 May 2020 22:38:33(UTC)
BridgeNut

Rank: Newbie

Groups: Registered
Joined: 12/05/2020(UTC)
Posts: 7
Man
United States

I am not sure how to attach - I think I did this right.

USC EB EXP LFD.sm (137kb) downloaded 12 time(s).
Offline uni  
#9 Posted : 15 May 2020 00:31:12(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Like this. Implicit plot mode used.

USC EB EXP LFD (uni).sm (131kb) downloaded 19 time(s).
USC EB EXP LFD (uni, page 3).pdf (156kb) downloaded 16 time(s).

2020-05-15_02-30-10.png


Russia ☭ forever
Viacheslav N. Mezentsev
thanks 1 user thanked uni for this useful post.
on 15/05/2020(UTC)
Offline Jean Giraud  
#10 Posted : 15 May 2020 00:54:37(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
So big ± numbers are like measuring the Moon/Earth distance in phentometers.

USC EB EXP LFD.sm (134kb) downloaded 13 time(s).
Offline BridgeNut  
#11 Posted : 15 May 2020 04:17:14(UTC)
BridgeNut

Rank: Newbie

Groups: Registered
Joined: 12/05/2020(UTC)
Posts: 7
Man
United States

Clapping very helpful. Again, the "thanks" button is just returning an error, but you have my thanks!
Offline Jean Giraud  
#12 Posted : 15 May 2020 04:43:50(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
You just have a data set from some standard.
You can interpolate from the 2D spline module,
as well you can plot each interpolated column.
You first have to metric each direction X Y.
Cheers ... Jean

USC unknown.sm (31kb) downloaded 17 time(s).


Offline BridgeNut  
#13 Posted : 15 May 2020 05:03:56(UTC)
BridgeNut

Rank: Newbie

Groups: Registered
Joined: 12/05/2020(UTC)
Posts: 7
Man
United States

Thanks Jean / Viacheslav...from examples provided, how the X-Y Plot Plugin uses the arguments makes more sense. Simple test - My_Function: x-y^2 yields a simple parabola. It just plots whatever equation of a line is provided. High School math, simple but effective! Much more intuitive than how Mathcad does it (in my humble opinion). So used to doing it the Mathcad way, I am not seeing the obvious sometimes in Smath.

I definitely need to donate money to the project. I have converted several calculation sheets I used routinely with Mathcad. Well worth the investment in time since Mathcad 15 is no longer developed and Mathcad Prime is not worth the money. Maxima / Octave work well command line, but its hard to document your thought process or communicate it to someone not fluent with those languages. This is much preferred as an "Engineer's Notebook". Programming is fine for when you need to harness the CPU - compile a program in Fortran or C++ for large data sets - but I don't do that sort of thing much. This is perfect for learning and doing day-to-day calculation.

Large availability of open source plug-ins and connections to other open source tools like Maxima and Octave is most useful. I get Sagemath without having to install 20GB of stuff on my server, I get it with a 4MB + addons. Web Smath and Smath on Android smartphone is very impressive too. So good I feel like someone might buy this project from Andrey!

Edited by user 15 May 2020 05:08:27(UTC)  | Reason: Not specified

Offline Jean Giraud  
#14 Posted : 15 May 2020 17:21:56(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
I was in love with Mathcad/Mathsoft 8 Pro. so well tutored.
Had free MCD 2001i from Beta testing.
Then had free MCD 11.2a from contributing DAEP.
May 30 2015 @ 15:00, PTC canceled Macrovision contract.
So, all single users MCD 11 Single User Edition
on XP Home got zapped. In my opinion, PTC/Mathcad
is a product from illuminaties, killing flies with a cannon.
Now, I'm addicted to Smath and happy to resume your project.
Read all carefully, let us know if more could help.
Thanks for sharing ... Jean.

Spline Matrix Tutorial METRIC Domain DUROMETER.sm (72kb) downloaded 15 time(s).
Offline Jean Giraud  
#15 Posted : 15 May 2020 21:54:47(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
... added the missing link: explain,
to be meaningful, you have to scale the idx vector
on some user unit system, possibly wrt data.
Superb classroom & Engineering tool box.

Spline Matrix Tutorial METRIC Domain DUROMETER.sm (83kb) downloaded 23 time(s).
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.