Table Region

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

#21 Objavljeno: 29. 1. 2014. 12:55:05
Pablo001

Pablo001

0 svidjanja u 5 postova.

Grupa: User

Thank you, Davide.
#22 Objavljeno: 4. 2. 2014. 07:21:31
dyleks

dyleks

0 svidjanja u 4 postova.

Grupa: 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 Objavljeno: 4. 2. 2014. 07:29:22
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: 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 Objavljeno: 4. 2. 2014. 08:06:50
dyleks

dyleks

0 svidjanja u 4 postova.

Grupa: User

Thanks for explanation.
#25 Objavljeno: 14. 2. 2014. 20:35:43
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Radovan Omorjan 15. 2. 2014. 02:03:00, sergio 15. 2. 2014. 05:30:00, Andrey Ivashov 15. 2. 2014. 06:52:00, ioan92 15. 2. 2014. 05:05:00
#26 Objavljeno: 15. 2. 2014. 08:17:40
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: 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 korisnika je svidelo ovu objavu
ioan92 15. 2. 2014. 08:37:00
#27 Objavljeno: 15. 2. 2014. 13:11:44
Pablo001

Pablo001

0 svidjanja u 5 postova.

Grupa: User

Thank you Davide!!!!
#28 Objavljeno: 15. 2. 2014. 16:01:36
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: 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 Objavljeno: 15. 2. 2014. 17:37:37
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: 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
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#30 Objavljeno: 16. 2. 2014. 07:18:07
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: 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,03 KiB) preuzeto 1737 put(ova).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
7 korisnika je svidelo ovu objavu
IVR 16. 2. 2014. 13:08:00, Martin Kraska 16. 2. 2014. 07:55:00, Mikka 16. 2. 2014. 07:59:00, ioan92 16. 2. 2014. 08:39:00, Radovan Omorjan 16. 2. 2014. 12:27:00, Andrey Ivashov 16. 2. 2014. 17:51:00, sergio 17. 2. 2014. 04:15:00
#31 Objavljeno: 16. 2. 2014. 08:33:09
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: 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
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1 korisnika je svidelo ovu objavu
Radovan Omorjan 16. 2. 2014. 12:27:00
#32 Objavljeno: 16. 2. 2014. 13:32:39
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: 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 Objavljeno: 18. 2. 2014. 05:08:42
Infinity

Infinity

3 svidjanja u 30 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Davide Carpi 18. 2. 2014. 09:44:00
#34 Objavljeno: 18. 2. 2014. 09:44:56
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: 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 Objavljeno: 18. 2. 2014. 11:56:19
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Radovan Omorjan 18. 2. 2014. 15:40:00, Infinity 19. 2. 2014. 06:10:00, Mikka 19. 2. 2014. 11:44:00, ioan92 18. 2. 2014. 12:28:00, IVR 18. 2. 2014. 12:31:00
#36 Objavljeno: 17. 3. 2014. 19:52:13
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: 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 Objavljeno: 20. 4. 2014. 06:13:15
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: 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,49 KiB) preuzeto 1714 put(ova).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1 korisnika je svidelo ovu objavu
Davide Carpi 21. 4. 2014. 13:36:00
#38 Objavljeno: 21. 4. 2014. 13:38:50
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Martin Kraska 21. 4. 2014. 15:53:00
#39 Objavljeno: 20. 5. 2014. 17:24:08
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: Moderator

Here is another small problem with nested matrices. I added this to BTS issue SS-120.
tabelle.PNG
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
2 korisnika je svidelo ovu objavu
Davide Carpi 20. 5. 2014. 19:22:00, Andrey Ivashov 23. 5. 2014. 17:19:00
#40 Objavljeno: 1. 12. 2015. 16:32:31
Alexander O. Melnik

Alexander O. Melnik

127 svidjanja u 498 postova.

Grupa: 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!
  • Novi postovi
  • Nema novih postova