1 Pages (20 items)
Questions of graph of a function - Messages
#1 Posted: 7/31/2024 12:55:33 AM
Hello! Please tell me for 2 questions:
1) How to build a graphs of function if the document has units of measurement? If I do "Ignore inits", then everything works. But I would like to with units of measurements
111.sm (33 KiB) downloaded 62 time(s).
2) Using plugin ComboBox I want to build graphs of 4 functions

Graphs of functions σ.x(x), σ.t(x), Mx(x) are built.
File not found. File not found. File not found.
Graph of functions σ.ekv(x) is not build. Why?

1) How to build a graphs of function if the document has units of measurement? If I do "Ignore inits", then everything works. But I would like to with units of measurements
111.sm (33 KiB) downloaded 62 time(s).
2) Using plugin ComboBox I want to build graphs of 4 functions
Graphs of functions σ.x(x), σ.t(x), Mx(x) are built.
File not found. File not found. File not found.
Graph of functions σ.ekv(x) is not build. Why?
#2 Posted: 7/31/2024 1:26:33 AM
#3 Posted: 8/1/2024 12:23:24 AM
#4 Posted: 8/1/2024 1:37:29 AM
Очень странное поведение, возьму на заметку. Компоненту не нравится выражение под знаком корня.
Russia ☭ forever, Viacheslav N. Mezentsev
#5 Posted: 8/1/2024 2:55:39 AM
The success of plotting seems to depend on how the expression is accessed. Possibly it is a Combobox issue.
BTW, in Maxima, the intermediate definition of P is not required. This is a necessary step for X-Y Plot only.
![2024-07-31 21_53_39-SMath Solver - [111_Kr.sm_].png](/en-US/file/hFUUmx/2024-07-31-21_53_39-SMath-Solver---_111_Kr_sm___png)
111_Kr.sm (60 KiB) downloaded 55 time(s).
BTW, in Maxima, the intermediate definition of P is not required. This is a necessary step for X-Y Plot only.
111_Kr.sm (60 KiB) downloaded 55 time(s).
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#6 Posted: 8/1/2024 9:27:50 AM
#7 Posted: 8/3/2024 1:58:09 AM
WroteThe success of plotting seems to depend on how the expression is accessed. Possibly it is a Combobox issue.
BTW, in Maxima, the intermediate definition of P is not required. This is a necessary step for X-Y Plot only.
111_Kr.sm (60 KiB) downloaded 55 time(s).
Thanks for the answer!
How can I replace it?
on this
#8 Posted: 8/3/2024 3:49:27 AM
WroteIn my example it doesn't work like that.
I only meant to say don't ignore units unless it is utmost necessary.
Here is your file totally working with units and plotted.
111_examination.sm (38 KiB) downloaded 62 time(s).
When I talk about your problem, I guess it is a parse bug of combobox.
Because it can plot normally when function called directly.
And radiobutton and combobox list is not affected if you use like this.
File not found. File not found.
This combobox issue is not limited to XYPlot, 2DPlot is affected too.
When combobox result is directly your symbolic function, it doesn't work.
However, when your function is simplified someway, it can be plotted.
This bug should be examined by author of combobox plugin.
Regards
#9 Posted: 8/3/2024 5:39:17 AM
Wrote
Thanks for the answer!
How can I replace it?
on this
I guess you want to set the limits depending on the selected function.
Let the combobox return the index of the selection and then use it to pick the appropriate values from lists.
In Maxima, you also can set the axes labels and the trace legend text using SMath expressions.
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#11 Posted: 8/4/2024 1:21:28 AM
Thanks everyone for your answers!
#12 Posted: 8/4/2024 1:36:26 AM
WroteWrote
Thanks for the answer!
How can I replace it?
on this
Let the combobox return the index of the selection and then use it to pick the appropriate values from lists.
In Maxima, you also can set the axes labels and the trace legend text using SMath expressions.
Can you tell us more?
If possible with an example.
Yes, I would like to substitute values from the results for set the limits
#13 Posted: 8/5/2024 3:51:31 AM
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#14 Posted: 8/5/2024 4:32:19 AM
Wrote111_Kr2.sm (60 KiB) downloaded 65 time(s).
I like the way limits determined by YLimMin, XLimMax, etc.
However, if you rename XYPlot to XYPlots or Plot1 or whatever, this method doesn't work particular plot.
Actually, all XYPlot are affected by XYPlot.option disregarding name of plot.
Is this a bug or a feature?
Regards
1 users liked this post
sergio 8/5/2024 3:36:00 PM
#15 Posted: 8/5/2024 4:45:30 AM
As far as I understand, you can control multiple plots individually by providing vector values to the XYPlot-variables. In the settings you select select SourceType->PropertyGrid and provide the index to use for accessing the values.
You find an example in the interactive handbook (Plugins->X-Y Plot Region).
You find an example in the interactive handbook (Plugins->X-Y Plot Region).
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
sergio 8/5/2024 3:36:00 PM
#16 Posted: 8/8/2024 11:42:02 PM
Wrote111_Kr2.sm (60 KiB) downloaded 65 time(s).
Thank you very much! That's what I needed.
The only question is: does SMath have auto-scaling of axes as it was in Mathcad? this would greatly simplify the process)
#17 Posted: 8/9/2024 1:43:28 AM
Использование Properties source - это исторически первый способ управления компонентом из документа, он был оставлен для совместимости со старыми документами.
Автомасштабирование в компоненте XY Plot не реализовано из-за того, что я не нашел удобного алгоритма поведения для комбинации явных и неявных графиков. Для отображения неявного графика область должна быть задана конкретно, а для автомасштабирования наоборот не задана.
Автомасштабирование в компоненте XY Plot не реализовано из-за того, что я не нашел удобного алгоритма поведения для комбинации явных и неявных графиков. Для отображения неявного графика область должна быть задана конкретно, а для автомасштабирования наоборот не задана.
Russia ☭ forever, Viacheslav N. Mezentsev
#18 Posted: 8/9/2024 3:04:34 PM
WroteWrote111_Kr2.sm (60 KiB) downloaded 65 time(s).
I like the way limits determined by YLimMin, XLimMax, etc.
However, if you rename XYPlot to XYPlots or Plot1 or whatever, this method doesn't work particular plot.
Actually, all XYPlot are affected by XYPlot.option disregarding name of plot.
Is this a bug or a feature?
Regards
I can add this option to customize the properties
Russia ☭ forever, Viacheslav N. Mezentsev
#19 Posted: 11/12/2024 7:02:29 AM
#20 Posted: 11/12/2024 8:08:01 AM
Russia ☭ forever, Viacheslav N. Mezentsev
1 Pages (20 items)
-
New Posts
-
No New Posts