Table Region

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

#21 Posted: 1/29/2014 12:55:05 PM
Pablo001

Pablo001

0 likes in 5 posts.

Group: User

Thank you, Davide.
#22 Posted: 2/4/2014 7:21:31 AM
dyleks

dyleks

0 likes in 4 posts.

Group: User

I have noticed that I can't install it in SMath version: 0.96.5146.
I am geting error: "Plug-in(s) installation failed."

And now every time i turn SMath Studio I have error:
"Error occured while trying to load third-party assembly. Pligin disabled."

Any idea ?
#23 Posted: 2/4/2014 7:29:22 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

This plugin is not yet available for SMath 0.96.5146

BTW any "Region" plugin that has the version scheme X.Y.####.Z, where #### is less than 5146 is not compatible with the latest nightly build.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#24 Posted: 2/4/2014 8:06:50 AM
dyleks

dyleks

0 likes in 4 posts.

Group: User

Thanks for explanation.
#25 Posted: 2/14/2014 8:35:43 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

UPDATED

- SMath Studio 0.96.5146 or later required;
- heavy performances' optimization;
- added row/column limiters on data size change;
- customizable table outer borders;
- SMath Viewer compatible;
- fixes;
table.png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
4 users liked this post
Radovan Omorjan 2/15/2014 2:03:00 AM, sergio 2/15/2014 5:30:00 AM, Andrey Ivashov 2/15/2014 6:52:00 AM, ioan92 2/15/2014 5:05:00 AM
#26 Posted: 2/15/2014 8:17:40 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Thank you Ioan

Actually the "symbolic" representation is not implemented, any not numeric value is converted to a string, but this feature is in my plans.

[EDIT] I've updated again the plugin, there's a little fix for numbers formatting.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
ioan92 2/15/2014 8:37:00 AM
#27 Posted: 2/15/2014 1:11:44 PM
Pablo001

Pablo001

0 likes in 5 posts.

Group: User

Thank you Davide!!!!
#28 Posted: 2/15/2014 4:01:36 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

You're welcome

BTW before releasing a "stable" version, I would like to have an opinion from the community whether it is preferable to have the header and footer areas extended to the stubs, or if it is better to leave them as they are


P.S. the latest update contains a bugfix about a border swap when the dialog is skipped
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#29 Posted: 2/15/2014 5:37:37 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

BTW before releasing a "stable" version, I would like to have an opinion from the community whether it is preferable to have the header and footer areas extended to the stubs, or if it is better to leave them as they are


I wonder how you want to control cell alignment of the header if it extends over the stubs.

There are two features which might be adjusted a little (may be matter of taste):

- The cell dimensions are affected by settings of invisible parts. E.g. if left stub and data have their vertical padding set to zero (to get compact cells), then they still are adusted to the padding values of the right stub even if that is invisible.
- If the ellipsis is on the left side, then expanding the table to the right using the region markers is not possible (see image)

Did I get it right that the unit summary is for scaling the data by line?

BTW, I like the feature of getting rid of the region border. Would be fine for the image region as well.
table.PNG
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#30 Posted: 2/16/2014 7:18:07 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

I wonder how you want to control cell alignment of the header if it extends over the stubs.


Oh, that's a nice question, because I have absolutely no ideas about this, it's just a stone dropped in the pond :d

Wrote

There are two features which might be adjusted a little (may be matter of taste):

- The cell dimensions are affected by settings of invisible parts. E.g. if left stub and data have their vertical padding set to zero (to get compact cells), then they still are adusted to the padding values of the right stub even if that is invisible.


Thank you (sizes balancing on invisible zones - fixed); I'm not sure if synchronizing vertical paddings we loose some features (when there are different font settings) so, as for now, I've left this untouched.

Wrote

- If the ellipsis is on the left side, then expanding the table to the right using the region markers is not possible (see image)


I'll think about this, actually I don't have ideas on how to handle by code the top/left resizing... as for now a way is to use "expand to table limits" feature and then, if needed, "shrink to page size"

Wrote

Did I get it right that the unit summary is for scaling the data by line?


By columns, by rows or global (single unit/scale factor)


[edit] attachment updated using the latest plugin's XML scheme
units.sm (21 KiB) downloaded 130 time(s).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
7 users liked this post
IVR 2/16/2014 1:08:00 PM, Martin Kraska 2/16/2014 7:55:00 AM, Mikka 2/16/2014 7:59:00 AM, ioan92 2/16/2014 8:39:00 AM, Radovan Omorjan 2/16/2014 12:27:00 PM, Andrey Ivashov 2/16/2014 5:51:00 PM, sergio 2/17/2014 4:15:00 AM
#31 Posted: 2/16/2014 8:33:09 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

Wrote

Did I get it right that the unit summary is for scaling the data by line?

By columns, by rows or global (single unit/scale factor)


Thanks, control by matrix dimension seems clean and easy to remember.

I'd prefer the unit summary entries not being converted to base units but rather being displayed as specified (perhaps with a bit of string processing to remove spurious curly braces and to replace ^2 by ³ and ^3 by ² )

There is, of course, a workaround by hiding the summary and writing the units as strings to the stub or header - with inherent danger of inconsistency.

I would like to add another feature request: formatting with specified number of significant digits.


units.PNG
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Radovan Omorjan 2/16/2014 12:27:00 PM
#32 Posted: 2/16/2014 1:32:39 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

I'd prefer the unit summary entries not being converted to base units


I know... As I've written before, actually there's no way to do this directly...

Wrote

I would like to add another feature request: formatting with specified number of significant digits.


This is possiblle, I'll do it.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#33 Posted: 2/18/2014 5:08:42 AM
Infinity

Infinity

3 likes in 30 posts.

Group: User

Hi,

I found two issues within this plugin.
- Comma ',' as argument separator does not work probably when sub matrices are used.
- The degree symbols causes issues when sub matrices are used.
Please see my attached images.

Best Regards,
Infinity

terr2.PNG
1 users liked this post
Davide Carpi 2/18/2014 9:44:00 AM
#34 Posted: 2/18/2014 9:44:56 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Thank you, I'll fix it
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#35 Posted: 2/18/2014 11:56:19 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

UPDATED

- changed XML read/save scheme (open and save again any existing file that contains tables)
- added significant digits settings;
- nested cells implementation improved;
- context menu resizing fixes & improvements;
- fixed issues when there are many variables with same name and different sizes;
- default position of units by rows now is on the right side;
- code fixes;
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
5 users liked this post
Radovan Omorjan 2/18/2014 3:40:00 PM, Infinity 2/19/2014 6:10:00 AM, Mikka 2/19/2014 11:44:00 AM, ioan92 2/18/2014 12:28:00 PM, IVR 2/18/2014 12:31:00 PM
#36 Posted: 3/17/2014 7:52:13 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

UPDATED

(SMath Studio 0.97.5189)

- code updated to fit the new APIs features;
- added SMath symbolic data representation.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#37 Posted: 4/20/2014 6:13:15 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Happy easter to the smathicians!

Unexpected results in Table Region. All but the first submatrices are collapsed to some strange number. Something went wrong...
NK TM1 13.sm (38 KiB) downloaded 129 time(s).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Davide Carpi 4/21/2014 1:36:00 PM
#38 Posted: 4/21/2014 1:38:50 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Thank you Martin, bug added in the BTS (SS-120)


Best regards,

Davide
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
Martin Kraska 4/21/2014 3:53:00 PM
#39 Posted: 5/20/2014 5:24:08 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Here is another small problem with nested matrices. I added this to BTS issue SS-120.
tabelle.PNG
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
2 users liked this post
Davide Carpi 5/20/2014 7:22:00 PM, Andrey Ivashov 5/23/2014 5:19:00 PM
#40 Posted: 12/1/2015 4:32:31 PM
Alexander O. Melnik

Alexander O. Melnik

127 likes in 494 posts.

Group: Moderator

Davide,

Do you anticipate any future work on allowing to use Table Region to define a matrix?
This could work extremely well with my excel_IO plugin.

If not, can I play with your code to see what I can do to fit my needs?

What I envision is:

i. Use your table region to create matrix of a following format:
1st row - EXCEL row i.d. (A,B,C...)
1st column - EXCEL column i.d. (1,2,3...)
other rows/columns - input data

ii. Use my excel_IN function to pass cell input values and addresses to excel process

iii. Use my excel_PNG function to display any changes in excel worksheet in real time

iv. Use my excel_OUT function to dynamically output data from excel process

Thanks!
  • New Posts New Posts
  • No New Posts No New Posts