Table Region

Table Region - Extends SMath Studio with a table region. - 消息

#61 已发布: 2017/12/15 22:41:33
CBG

CBG

78个赞,共312个帖子。

组: User

Why units are duplicate in Table Region?

Duplicate_Units.png


units (1).sm (21.03 KiB)已下载 1725 次。



Best regards

Carlos
#62 已发布: 2017/12/17 08:39:26
Davide Carpi

Davide Carpi

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

组: Moderator

It's a bug

thank you for reporting, I'll fix it ASAP.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#63 已发布: 2017/12/19 01:39:06
CBG

CBG

78个赞,共312个帖子。

组: User

Thank you very much for your reply.

Best regards

Carlos
#64 已发布: 2018/1/31 11:42:58
Martin_B

Martin_B

22个赞,共84个帖子。

组: User

Hi Davide,

the values "Resizing/Limits on data size changes" are not stored between sessions (close/reopen SMath).

with SMath: "0.98.6484"
#65 已发布: 2018/2/1 12:49:54
Davide Carpi

Davide Carpi

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

组: Moderator

Wrote

Hi Davide,

the values "Resizing/Limits on data size changes" are not stored between sessions (close/reopen SMath).

with SMath: "0.98.6484"



I cannot reproduce. Do you have checked the "set as default" checkbox and then clicked on the "ok" button?
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#66 已发布: 2018/3/22 14:51:56
sergio

sergio

127个赞,共342个帖子。

组: User

Davide,
I have identified an abnormal behavior using the comma as a decimal point

sergio

[albumimg]1479[/albumimg]
#67 已发布: 2018/3/22 15:00:35
Davide Carpi

Davide Carpi

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

组: Moderator

Wrote

Davide,
I have identified an abnormal behavior using the comma as a decimal point

sergio

[albumimg]1479[/albumimg]





Yes, this comes from a conflict in behaviors...var2str() was thinked to be used in plots as main target, hence preserving the localisation options... table region symbolic strings needs a standard input (period as decimal separator)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
2位用户喜欢此帖子
sergio 2018/3/22 15:02:00, frapuano 2018/3/22 17:31:00
#68 已发布: 2018/4/2 12:48:15
⠀

⠀

26个赞,共155个帖子。

组: User

Hello,

Thanks for the work with this plugin, it has proven to be a very useful and much needed feature.

I am however having one small issue. My table displays fine within SMath, but when I print, depending on how many characters there are, the table cuts off.
This is only when I print.
Table print Issue.png
Is there something in the settings I am missing?
All settings are default in the attached example.

Thank you!
#69 已发布: 2018/4/3 06:11:41
Davide Carpi

Davide Carpi

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

组: Moderator

Wrote

Hello,

Thanks for the work with this plugin, it has proven to be a very useful and much needed feature.

I am however having one small issue. My table displays fine within SMath, but when I print, depending on how many characters there are, the table cuts off.
This is only when I print.
...
Is there something in the settings I am missing?
All settings are default in the attached example.

Thank you!



Confirmed. Unfortunately string scaling is driven internally by the .NET framework (here the ssue is how letters are spaced), so there aren't easy fixes. I'll think if I can do something however, thank you for reporting.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#70 已发布: 2018/4/3 07:39:04
sergio

sergio

127个赞,共342个帖子。

组: User

I have seen that by adding some final spaces the string becomes completely visible. It is not a solution but can be used in some cases.
Even the formatted label has a similar behavior but in that case the string wraps.

sergio
2位用户喜欢此帖子
frapuano 2018/4/4 03:24:00, Davide Carpi 2018/4/6 06:23:00
#71 已发布: 2018/4/5 12:27:51
⠀

⠀

26个赞,共155个帖子。

组: User

PompelmoTell - Yes, I did figure this "fix" out as well. Depending on the length of the original string, more spaces need to be added to the end. Not the best of solutions given that I am working with large amounts of data of varying length.

What is confusing to me, is that if the string is longer, it will print more of it, but also remove more characters at the end. if the string is shorter, it removes less characters but the end result is a shorter string than the previously mentioned. There doesn't seem to be be a fixed length when printing and it depends on the original length.

Lets hope the champion Davide Carpi has a solution to this!
#72 已发布: 2018/6/8 21:14:24
⠀

⠀

26个赞,共155个帖子。

组: User

Davide,

Any news on a permanent fix for the string length cut off on the table region mentioned above?

Thanks!
#73 已发布: 2018/6/25 11:57:08
NDTM Amarasekera

NDTM Amarasekera

130个赞,共352个帖子。

组: User

I observe a peculiar behavior when "Temp" is changed from 20 Celsius to, say, 40 Celsius.
See how the table value responds when input "Temp" is changed to 40 Celsius.
Where have I gone wrong? Apparently, this happens only with Temp units (needs further checks).

Units_Table_r2 (1).sm (17.27 KiB)已下载 1589 次。

Table_Error2.jpg

Table_Error1.jpg
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
#74 已发布: 2018/6/25 12:54:50
Arie

Arie

94个赞,共285个帖子。

组: User

This seems to be related to offset between Celsius and Kelvin.

I can produce the correct output (with incorrect input) by changing units of Temp to Δ°C OR by changing value in Table1 to Temp-273.15K.

Untitled1.png

Untitled.png

Note that by setting the units in the un column to 1 from °C, the temperature is shown in Kelvin as the first table in the .sm.

Somehow the conversion from K to °C is not being performed properly within table region.

Untitled.png
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#75 已发布: 2018/6/25 19:01:35
Jean Giraud

Jean Giraud

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

组: User

Wrote

Where have I gone wrong ?



Not easy to get Table that makes sense ... kind of pest !

TableProject.PNG

Table Region [Project].sm (7.85 KiB)已下载 1454 次。
#76 已发布: 2018/6/25 19:19:12
Jean Giraud

Jean Giraud

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

组: User

TableFootNote.PNG
#77 已发布: 2018/6/25 19:42:28
⠀

⠀

26个赞,共155个帖子。

组: User

alyles,

The way the unit summary matrix works is that it actually does a unit conversion as seen in the image below.
the "in" unit shown in the un matrix is converted to the default unit in the same way the "a" and "b" variables are. Then the un matrix divides the T matrix to cancel out the units and display the values in the units chosen in the un matrix.
In the image shown below, the 6in are converted to 0.5ft when placed into the table, then the cm unit in the un matrix is converted to 0.0328ft and divides the 0.5ft value, making it 15.24 as shown.
Note that the unit summary matrix is not being displayed. They will not display as entered into the unit summary matrix because they are converted to the default unit as explained prior.

If you want the units to display, you will need to add a right stub with the units as "S:'unit" as shown before.

It would appear that there is something wrong with the conversion being made for temperature.

Table - Unit Coversion.PNG
#78 已发布: 2018/6/25 20:33:04
⠀

⠀

26个赞,共155个帖子。

组: User

ndtma,

To answer your question as to where you went wrong. Well, you didn't go wrong. The issue, I believe (I may be wrong), is that the way the "unit summary" matrix is designed to work, it assumes that the conversion can be made with a multiplying factor, but since the temperature scales do not share the same zero, there is no factor to multiply for the conversion in some cases.

I think what it comes down to is a matter of how the conversions actually happen. This goes for any portion of Smath Studio. See below. From Celsius to Fahrenheit, Smath won't make the conversion unless there is an actual number in front of it. Similarly, from Celsius to Kelvin, without the number in front of the unit the conversion is broken.
From Kelvin to Fahrenheit oddly enough, the conversion seems to work. I'm not sure how these are set up within Smath.. but there you have it. Food for thought I guess.

units.PNG
#79 已发布: 2018/6/25 22:47:30
Jean Giraud

Jean Giraud

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

组: User

What's wrong missing post 76 "Project"
Another style table few day ago.


TableFrederico.PNG
#80 已发布: 2018/9/9 10:08:58
Kriss Cringle

Kriss Cringle

3个赞,共15个帖子。

组: User

I tried to install the plugin but got an error message. Now the plugin cannot be disabled or removed?

Is there a problem or have I done / not done something?

Kriss
  • 有新帖
  • 无新帖