Table Region

Table Region - Extends SMath Studio with a table region. - Messages

#61 Posted: 12/15/2017 10:41:33 PM
CBG

CBG

77 likes in 312 posts.

Group: User

Why units are duplicate in Table Region?

Duplicate_Units.png


units (1).sm (21 KiB) downloaded 109 time(s).



Best regards

Carlos
#62 Posted: 12/17/2017 8:39:26 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: 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 Posted: 12/19/2017 1:39:06 AM
CBG

CBG

77 likes in 312 posts.

Group: User

Thank you very much for your reply.

Best regards

Carlos
#64 Posted: 1/31/2018 11:42:58 AM
Martin_B

Martin_B

21 likes in 84 posts.

Group: 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 Posted: 2/1/2018 12:49:54 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: 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 Posted: 3/22/2018 2:51:56 PM
sergio

sergio

115 likes in 329 posts.

Group: User

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

sergio

[albumimg]1479[/albumimg]
#67 Posted: 3/22/2018 3:00:35 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: 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 users liked this post
sergio 3/22/2018 3:02:00 PM, frapuano 3/22/2018 5:31:00 PM
#68 Posted: 4/2/2018 12:48:15 PM
Wesly Centerwall

Wesly Centerwall

26 likes in 156 posts.

Group: 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 Posted: 4/3/2018 6:11:41 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: 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 Posted: 4/3/2018 7:39:04 AM
sergio

sergio

115 likes in 329 posts.

Group: 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 users liked this post
frapuano 4/4/2018 3:24:00 AM, Davide Carpi 4/6/2018 6:23:00 AM
#71 Posted: 4/5/2018 12:27:51 PM
Wesly Centerwall

Wesly Centerwall

26 likes in 156 posts.

Group: 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 Posted: 6/8/2018 9:14:24 PM
Wesly Centerwall

Wesly Centerwall

26 likes in 156 posts.

Group: User

Davide,

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

Thanks!
#73 Posted: 6/25/2018 11:57:08 AM
NDTM Amarasekera

NDTM Amarasekera

130 likes in 352 posts.

Group: 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 KiB) downloaded 101 time(s).

Table_Error2.jpg

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

Arie

93 likes in 285 posts.

Group: 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 Posted: 6/25/2018 7:01:35 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 98 time(s).
#76 Posted: 6/25/2018 7:19:12 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

TableFootNote.PNG
#77 Posted: 6/25/2018 7:42:28 PM
Wesly Centerwall

Wesly Centerwall

26 likes in 156 posts.

Group: 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 Posted: 6/25/2018 8:33:04 PM
Wesly Centerwall

Wesly Centerwall

26 likes in 156 posts.

Group: 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 Posted: 6/25/2018 10:47:30 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

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


TableFrederico.PNG
#80 Posted: 9/9/2018 10:08:58 AM
Kriss Cringle

Kriss Cringle

3 likes in 15 posts.

Group: 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
  • New Posts New Posts
  • No New Posts No New Posts