How to force SMath to show values in decimal format and not fraction

How to force SMath to show values in decimal format and not fraction - Decimal, fraction format - Сообщения

#1 Опубликовано: 10.10.2017 15:55:09
Mo

Mo

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

Группа: User

Hi,
I am trying to display output calculations visually on a diagram in SMath through text. whenever there is decimal/fraction it always displays it in fraction format and I want to display it in decimal.
how can I do this please knowing that I already tried forcing the "fraction" option in the Tools to "Decimal"?
smath.JPG

Thanks in advance!
#2 Опубликовано: 10.10.2017 16:39:10
Jean Giraud

Jean Giraud

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

Группа: User

Maybe like this ?

Result.PNG
#3 Опубликовано: 10.10.2017 18:18:12
Mo

Mo

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

Группа: User

Thanks Jean, but I did not understand how you made it work.
Can you send a small example?
Also, I did not find any "optimiz" option in my version of SMath.
example.sm (1 КиБ) скачан 85 раз(а).
thanks
#4 Опубликовано: 10.10.2017 19:14:12
Jean Giraud

Jean Giraud

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

Группа: User

Hello Alberta ! I consulted for Syncrude [6 months 1983].
I can't reproduce your "Combo box" 6179.

example.sm (3 КиБ) скачан 88 раз(а).
#5 Опубликовано: 10.10.2017 20:22:29
Davide Carpi

Davide Carpi

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

Группа: Moderator

If you are using the conditionally formatted label or a plot, it is possible to use var2str() from CustomFunctions plugin.

Otherwise you can simply use a math region, right click on it and uncheck "Display input data", add a border (if you want), and that's all (in this case, use the options that Jean has mentioned in his first reply)

example.sm (8 КиБ) скачан 81 раз(а).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
Mo 11.10.2017 01:21:00
#6 Опубликовано: 10.10.2017 23:35:16
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Can you send a small example?



Once the document is ready for publishing => two options,
1. in customized text region [mostly for results]
2. in "Formatted Label" [very convenient to show all maths]

Image Formated LABEL [Oxyhemoglobin].sm (17 КиБ) скачан 73 раз(а).

Image Formated LABEL.sm (24 КиБ) скачан 67 раз(а).
1 пользователям понравился этот пост
Mo 11.10.2017 01:21:00
#7 Опубликовано: 11.10.2017 00:04:36
Jean Giraud

Jean Giraud

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

Группа: User

... Oxyhemoglobin ... you can reworks the maths by just clicking on
the region of interest. Try changing 'b' limit of the integrator,
all the slided regions disappear [similar to Mathcad "bring to front"],
as you quit the "Formated Label" region, everything comes back live.
Mathcad could not do that, the graph would have to be external.
The all stuff "Formated Label" is calculated first and the graph
behaves like if it would be below in normal work sheet.
Fantastic for day to day classroom in small chunks or for client.

Cheers, Jean
#8 Опубликовано: 11.10.2017 01:23:02
Mo

Mo

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

Группа: User

Thanks a lot Jean, Thanks a lot Davide.
Jean, I think the Oxyhemoglobin was a post for someone else because it is not related to the topic
#9 Опубликовано: 11.10.2017 10:06:21
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Jean, I think the Oxyhemoglobin was a post for someone else because it is not related to the topic



"Someone else" is myself. It shows how to publish a final project.
Oxyhemoglobin dates back to Mathcad Collaboratory. From recollection,
it was quite a brain storm because the published data were not as collected.
Rather, the data set was freaked by unknown. That does not help modeling !
On the other hand, the original 244 pairs does not help the fit,
16 pairs were largely enough.

Cheers, Jean

Genfit Oxyhemoglobin Reconciliation.sm (47 КиБ) скачан 36 раз(а).

Image Formated LABEL [Oxyhemoglobin].sm (17 КиБ) скачан 31 раз(а).

Genfit Oxyhemoglobin.sm (54 КиБ) скачан 38 раз(а).

#10 Опубликовано: 11.10.2017 13:03:00
CBG

CBG

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

Группа: User

I think is better to use the result directly in the drawing by changing the units and hiding the name of the variable

Inser_Med_dib.png



example_IMD.sm (546 КиБ) скачан 53 раз(а).
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений