Conditionally Formatted Labels

Conditionally Formatted Labels - Add Conditionally Formatted Labels in SMath Studio worksheets - 消息

#81 已发布: 2023/1/17 09:19:38
German

German

0个赞,共8个帖子。

组: User

Here it is.
losa-forum.sm (862.11 KiB)已下载 1940 次。

Sorry Jean but i don't understand what i'm supposed to see. I also get "data - not defined".
#82 已发布: 2023/1/17 10:18:15
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Sorry Jean but I don't understand what I'm supposed to see. I also get "data - not defined".


data not defined probably indicates some plugins not installed.
Maybe other problems wrt your version.

Oxyhemoglobin.PNG

#83 已发布: 2023/1/17 10:55:42
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Here it is.


Document does not open ... incorrect format
#84 已发布: 2023/1/17 11:15:28
German

German

0个赞,共8个帖子。

组: User

result.jpg

SMath Studio Desktop 64-bit
Version: 1.0(build: 8348)
Date: 9/11/2022

ConditionallyFormattedLabel: 1.0.8138.35454
#85 已发布: 2023/1/17 11:20:05
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

If you hover over the asd definition you can see that there is an unsolved "d" dependancy that triggers the error.

2023-01-17 15_10_16-SMath Solver - [losa-forum.sm_].png


The same happens if you try to force a numerical evaluation using eval()

2023-01-17 15_23_37-SMath Solver - [losa-forum.sm_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#86 已发布: 2023/1/17 12:05:21
German

German

0个赞,共8个帖子。

组: User

Wrote

If you hover over the asd definition you can see that there is an unsolved "d" dependancy that triggers the error.

2023-01-17 15_10_16-SMath Solver - [losa-forum.sm_].png


The same happens if you try to force a numerical evaluation using eval()

2023-01-17 15_23_37-SMath Solver - [losa-forum.sm_].png



That is it!

As allways thanks!!

But still don't understand why Jean files fails.
#87 已发布: 2023/1/17 12:12:05
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

SMath Studio Desktop 64-bit
Version: 1.0(build: 8348)
Date: 9/11/2022


Slide left the Formatted Label
Side right the graph, remove the Σ no definido
You should see the plot.
#88 已发布: 2023/1/17 12:15:52
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Wrote

That is it!

As allways thanks!!



You're welcome!

Wrote

But still don't understand why Jean files fails.



There is an excel data import at the begin of the file, is not related to the issue however so it doesn't matter. nevermind I was looking at your file.


If you remove the 3 inline evaluations it will work.

2023-01-17 16_28_05-SMath Solver - [Image Formated LABEL [Oxyhemoglobin] FORUM.sm].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#89 已发布: 2023/1/17 12:39:57
German

German

0个赞,共8个帖子。

组: User

Wrote



There is an excel data import at the begin of the file, is not related to the issue however so it doesn't matter. nevermind I was looking at your file.



My file can be an example of things NOT to do.



Wrote



If you remove the 3 inline evaluations it will work.




#90 已发布: 2023/10/14 23:08:58
Rogalski

Rogalski

0个赞,共7个帖子。

组: User

Hi,
Can we manage the units that are displayed?
I have a load in kN/m2 and the result appears as kg/(m*s2).
The idea is to present only positive values (with the appropriate unit).


kind regards


Conditionally Formatted Labels_unity.sm (5.47 KiB)已下载 1894 次。
#91 已发布: 2023/10/14 23:52:58
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

The easier way might be something like this

2023-10-14 18_53_23-SMath Solver - [Conditionally Formatted Labels_unity.sm_].png


press2text(x):line(concat(var2str(x/'kPa,1),"\0020\kN\002F\m\00B2\",1,1)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1位用户喜欢此帖子
Oscar Campo 2023/10/15 00:41:00
#92 已发布: 2023/10/15 00:08:06
Rogalski

Rogalski

0个赞,共7个帖子。

组: User

Thank you very much.
This is exactly what I needed.
#93 已发布: 2023/10/15 23:51:23
Rogalski

Rogalski

0个赞,共7个帖子。

组: User

Hi,
I'm looking for a way to represent the letter D as a subscript. Unfortunately, Unicode doesn't seem to provide this option...

Is there any possibility to parameterize individual characters that will be presented?
#94 已发布: 2023/10/16 03:06:16
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

I'm looking for a way to represent the letter D as a subscript


You can subscribe whatever.
mysystem dot HelloGrandMa
#95 已发布: 2023/10/17 01:32:30
Rogalski

Rogalski

0个赞,共7个帖子。

组: User

Wrote

Wrote

I'm looking for a way to represent the letter D as a subscript


You can subscribe whatever.
mysystem dot HelloGrandMa




Hi,
thanks for the information, but I'm not sure if I expressed myself correctly. I mean the subscripts in the "phrases" that I marked in the drawing.

Davide sent the function shown above in which I need to use subscripts.
Index.png




#96 已发布: 2023/10/17 02:13:46
Oscar Campo

Oscar Campo

135个赞,共309个帖子。

组: Moderator

Davide used superscript unicode character for write: "kN\002F\m\00B2\" wich renders as "kN/m²" so, you can use unicode characters...but not all characters have subscript version.

Please check here: https://www.compart.com/en/unicode/search?q=subscript#characters

Oscar
#97 已发布: 2023/10/17 13:30:37
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Hi Karol. This could be a workaround, using the SMath Plot region.

label.sm (6.22 KiB)已下载 1870 次。

Clipboard01.png

Best regards.
Alvaro.
1位用户喜欢此帖子
Oscar Campo 2023/10/17 16:52:00
#98 已发布: 2023/10/17 18:15:56
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Subscripts in native Solver 30405.
Collect as many the project needs,
call the wanted by indexing.

Maths Subscript.sm (10.73 KiB)已下载 1897 次。
#99 已发布: 2023/10/17 23:23:29
Rogalski

Rogalski

0个赞,共7个帖子。

组: User

Wrote

Hi Karol. This could be a workaround, using the SMath Plot region.

label.sm (6.22 KiB)已下载 1870 次。

Clipboard01.png

Best regards.
Alvaro.




Wow great Alvaro. Thank you very much.
I'm impressed.

#100 已发布: 2023/10/17 23:26:39
Rogalski

Rogalski

0个赞,共7个帖子。

组: User

Wrote

Subscripts in native Solver 30405.
Collect as many the project needs,
call the wanted by indexing.

Maths Subscript.sm (10.73 KiB)已下载 1897 次。




Jean Giraud,
Thank you too.
But I have to put in some effort to understand what you sent.
Kind regards
  • 有新帖
  • 无新帖