Complex Plotting in Smath

Complex Plotting in Smath - Сообщения

#1 Опубликовано: 13.05.2020 16:26:48
Mike Fuller

Mike Fuller

0 сообщений из 7 понравились пользователям.

Группа: User

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
#2 Опубликовано: 13.05.2020 17:49:34
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Try X-Y Plot Region and attach the document.
Russia ☭ forever, Viacheslav N. Mezentsev
#3 Опубликовано: 13.05.2020 19:14:45
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

Try X-Y Plot Region and attach the document.


Yes because in that one you seem missing, the boat.
#4 Опубликовано: 14.05.2020 13:26:05
Mike Fuller

Mike Fuller

0 сообщений из 7 понравились пользователям.

Группа: User

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?

#5 Опубликовано: 14.05.2020 14:26:55
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

If you attach the document I'll try to show how to invert axes.
Russia ☭ forever, Viacheslav N. Mezentsev
#6 Опубликовано: 14.05.2020 15:18:51
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Tabulate discrete, inverse the collection ...
NO work sheet [NO patient] => NO doctoring.
#7 Опубликовано: 14.05.2020 16:14:59
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

ReversePlot.PNG
#8 Опубликовано: 14.05.2020 16:38:33
Mike Fuller

Mike Fuller

0 сообщений из 7 понравились пользователям.

Группа: User

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

USC EB EXP LFD.sm (136 КиБ) скачан 36 раз(а).
#9 Опубликовано: 14.05.2020 18:31:12
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Like this. Implicit plot mode used.

USC EB EXP LFD (uni).sm (130 КиБ) скачан 40 раз(а).
USC EB EXP LFD (uni, page 3).pdf (155 КиБ) скачан 45 раз(а).

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


Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
frapuano 15.05.2020 06:30:00
#10 Опубликовано: 14.05.2020 18:54:37
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

So big ± numbers are like measuring the Moon/Earth distance in phentometers.

USC EB EXP LFD.sm (133 КиБ) скачан 34 раз(а).
#11 Опубликовано: 14.05.2020 22:17:14
Mike Fuller

Mike Fuller

0 сообщений из 7 понравились пользователям.

Группа: User

very helpful. Again, the "thanks" button is just returning an error, but you have my thanks!
#12 Опубликовано: 14.05.2020 22:43:50
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

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 (30 КиБ) скачан 42 раз(а).


#13 Опубликовано: 14.05.2020 23:03:56
Mike Fuller

Mike Fuller

0 сообщений из 7 понравились пользователям.

Группа: User

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!
#14 Опубликовано: 15.05.2020 11:21:56
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

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 (71 КиБ) скачан 41 раз(а).
#15 Опубликовано: 15.05.2020 15:54:47
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

... 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 (82 КиБ) скачан 58 раз(а).
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений