Plots with X-Y Plot with variable - Сообщения
since I´m using SMath instead of Exel sheets, my calculations are a lot easier, thanks!
But currently, I have a problem, where I was unable to find a solution.
Is it only possible, to plot ONE function?
I want to do plot a diagram where the variable (x-axis) is at the beginning of the sheet(e.g."z"). It influences the whole calculation over 2 pages. It's to much, to get in in one formula.
It is possible to plot a diagram of the "last" formula (e.g. "f()") in dependence on a variable "in the beginning"
(=> f(z), where z is not in f(), but in a previous formula of which f() is dependent.)
Hope someone is able to answer my question.
regards
freakyuser
You might consider consulting the handbooks.If you use the unofficial portable version, then there is a pre-installed interactive handbook ([?]-Button on the toolbar) with a Chapter on Graphics.
Also, in the extension manager (Extras> Plugins> Handbücher) there is a german pdf handbook.
Yes, I use your portable version and I read your handbook almost completly.
But it wasn't able to solve my problem.
I attached the file. I want to make a plot/diagramm how e.g. T_max changes the solution.
Drossel_berechnung.sm (26 КиБ) скачан 40 раз(а).
That must have been frustrating. Can't believe that you did not find a single error or typo... Any hints welcome.WroteI read your handbook almost completly.
But it wasn't able to solve my problem.
Normally, you would keep the parameters which are subject to later change as function arguments in the definitions. E.g. all quantities should be defined as function of T.max.
However, given the sheet as it is, the simplest way is to switch off the numeric parameter specifications. That enforces SMath to store the symbolic formula and you can afterwards apply the substitution operator (at() function).
Drawback is that you do not get numeric results unless you either provide global values by just defining them in the sheet (can be done below all other definitions) or by specifying local values using at().
WroteThat must have been frustrating. Can't believe that you did not find a single error or typo... Any hints welcome.
I haven't read of course every word and not only because of this issue, I think is it helpful to get a overview of SMath's capability. However I haven't found an eye catching mistake. Good job

Wrote
Normally, you would keep the parameters which are subject to later change as function arguments in the definitions. E.g. all quantities should be defined as function of T.max.
I tried to do this already before asking, but wasn´t very successful... Well, I attached my "Test file" also.
Wrote
However, given the sheet as it is, the simplest way is to switch off the numeric parameter specifications. That enforces SMath to store the symbolic formula and you can afterwards apply the substitution operator (at() function).
Drawback is that you do not get numeric results unless you either provide global values by just defining them in the sheet (can be done below all other definitions) or by specifying local values using at().
Thanks, I was able to reproduce it, but the reason why I use SMath, the "documentation" like calculation gets lost.
How should I design my calculations, to use the diagrams and keep the numeric results? (Maybe a short example

Thanks for your help and work for this great tool.
Drossel_berechnung_test.sm (28 КиБ) скачан 42 раз(а).
Downstream the sheet you can give it a value for displaying results.
For plots, you have to clear the value and use the substitution operator. Alternatively, you could define DeltaT.x as a function of T and T.max in the argument list and do as well for all other defintions. Then you just could call I(25°C, x°C) instead of using at().
WroteThen you just could call I(25°C, x°C) instead of using at().
This is something I tried to do, but when there are more than 3 variables it becomes rapidly confusing.
So I think the at() function is the better way.
I tried to use it just like you did, but the value doesn't change.
I changed the formulas to symbolic.
Whats the issue?
Thanks for your help and time.
But it only works, when I write T.max under the definition of I(T), otherwise I(T) is stored also numerical and not symbolical.
The other way is, to clear T.max before every definition and define it again afterwards.
Is this the only possible way, or do I something wrong?
Drossel_berechnung_test_v2.sm (334 КиБ) скачан 45 раз(а).
But also, the "documentation style" and the clarity would be lost.
-
Новые сообщения
-
Нет новых сообщений