Units in Table Region

Units in Table Region - That the Table shows the desired units. - Сообщения

#1 Опубликовано: 07.03.2018 14:21:01
CBG

CBG

77 сообщений из 312 понравились пользователям.

Группа: User

Will it be possible?


Table_Units.png


Table_Units.sm (9 КиБ) скачан 78 раз(а).


Best Regards

Carlos
#2 Опубликовано: 07.03.2018 14:41:34
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

Tne solution isn't smart at all but it is possible. Would be half the trouble, if one could store and use the unit in the unit summary vector "us" as they are defined (prevent symbolic processing, which even can't be suppressed when setting optimization to none).

Table_Units_Kr.sm (11 КиБ) скачан 64 раз(а).
table1.png
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
CBG 07.03.2018 15:11:00
#3 Опубликовано: 07.03.2018 15:11:23
CBG

CBG

77 сообщений из 312 понравились пользователям.

Группа: User

Thank you very much Martin,

But now how do I include the header?
since it does not appear as an option in the heading list.

Table_JHeader.png


Best regards

Carlos
#4 Опубликовано: 07.03.2018 16:31:35
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

Wrote

Thank you very much Martin,

But now how do I include the header?
since it does not appear as an option in the heading list.


Best regards

Carlos



The header can only be specified for the columns of the data matrix, thus only single column objects are listed as choices for header variable. I don't know of options to fill the fields above the left and right row titles.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#5 Опубликовано: 07.03.2018 21:35:17
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

Will it be possible?



Unit system [base SI in Smath] is desperately too circular.

Table_Units(1).sm (9 КиБ) скачан 59 раз(а).

UnitTable.PNG
#6 Опубликовано: 08.03.2018 13:55:13
CBG

CBG

77 сообщений из 312 понравились пользователям.

Группа: User

Many thanks to Martin and Jean


I think that the Table Region plugin should be
improved to include the possibility of incorporating
headers in the left and right columns.

Best regards

Carlos
#7 Опубликовано: 08.03.2018 15:37:38
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

I think that the Table Region plugin should be
improved to include the possibility of incorporating
headers in the left and right columns.



... some +++ from brain storming, will make it convenient.
Would be a great tool to collect all my fluids wrt their specifics.

Jean
#8 Опубликовано: 18.06.2018 21:21:58
Wesly Centerwall

Wesly Centerwall

26 сообщений из 156 понравились пользователям.

Группа: User

Hello,

on the topic of units within the table, would the following be possible:

a:= ft
b:= in

matrix:=[a "-" b]

table:= matrix

Show a and b in a table with their corresponding units (ft and inches respectively)
Right now, a and b are shown as default unit only. Both are the same unit.

Why you may ask? This is an attempt at showing mixed units as a single output result in sheet. Often lengths are specified in feet + fractional inches.
#9 Опубликовано: 18.06.2018 22:30:22
CBG

CBG

77 сообщений из 312 понравились пользователям.

Группа: User

Something like this?

Table_Matrix.png


Table_Matrix.sm (8 КиБ) скачан 70 раз(а).


Best Regrads

Carlos
#10 Опубликовано: 19.06.2018 11:39:56
Ruben Sidranski

Ruben Sidranski

17 сообщений из 463 понравились пользователям.

Группа: User

Carlos,
Some Jedi magic I don't understand in your sheet.
1) Where did you get the "S colon" {S:} as part of the variable? I don't remember seeing this command/function and don't understand it's use
2) How did you display Matrix (Table)? Most Matrices use the augment command to generate the table. It's not like you typed in Matrix= ... Found this answer, never used it Ctrl+Shift+T
3) Is this a true matrix that was created? Looks like just a data display table. Cannot use the values short of using the variables a or b

Thank you
#11 Опубликовано: 19.06.2018 13:11:25
Wesly Centerwall

Wesly Centerwall

26 сообщений из 156 понравились пользователям.

Группа: User

CBG, The idea is to show mixed units as single linear output.

Units-Table.PNG

Mixed Units Ideas - Table.sm (25 КиБ) скачан 57 раз(а).
#12 Опубликовано: 19.06.2018 13:39:04
CBG

CBG

77 сообщений из 312 понравились пользователям.

Группа: User

Table_Units_R1.png

Mixed Units Ideas - Table_R1.sm (38 КиБ) скачан 52 раз(а).


Best Regards

Carlos
#13 Опубликовано: 19.06.2018 13:48:06
Wesly Centerwall

Wesly Centerwall

26 сообщений из 156 понравились пользователям.

Группа: User

Carlos,

Adding the "S:" makes it look much better.
Maybe at some point, the table region will allow for mixed units. For the time being this solution will work well.
thanks for the input.

Wes
#14 Опубликовано: 19.06.2018 17:20:36
CBG

CBG

77 сообщений из 312 понравились пользователям.

Группа: User

Hello ElSid

1).-The "S: '" is to be displayed as a unit in blue, and I learned it from Martin Kraska.

3).-It is the table region, which calls the variable matrix with the name.


Best Regards

Carlos
#15 Опубликовано: 27.06.2018 13:22:20
Wesly Centerwall

Wesly Centerwall

26 сообщений из 156 понравились пользователям.

Группа: User

Carlos,

The "unit summary" function of the table region will actually perform the unit conversions for you.
Note that this is only for direct scalar multiplier conversions. It does not work for temp units...

This way you don't have to cancel out units in the matrix going into the table. The "units summary" will do that for you.

Note that the "unit summary" is selected but NOT displayed. There is also a proof with variables.

This idea comes from user ndtma on the Table Region topic, at least that's where i saw it first, maybe someone else did it first?

Table - Unit Conversion 1.PNG
#16 Опубликовано: 27.06.2018 14:09:34
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

It does not work for temp units...



... doctored for °C. Very convenient for me, up2next !

Table6179Doctored.PNG

Table Region Carlos.sm (10 КиБ) скачан 64 раз(а).
#17 Опубликовано: 27.06.2018 14:31:56
Wesly Centerwall

Wesly Centerwall

26 сообщений из 156 понравились пользователям.

Группа: User

Jean,

"S:'L/s" should be "S:'L/'s". Note the added "'" in order to show "s" as blue unit.
#18 Опубликовано: 27.06.2018 19:47:27
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

Jean,

"S:'L/s" should be "S:'L/'s". Note the added "'" in order to show "s" as blue unit.



Thanks for that one wb.c ... corrected !

Jean
#19 Опубликовано: 28.06.2018 23:57:51
CBG

CBG

77 сообщений из 312 понравились пользователям.

Группа: User

Wrote

The "unit summary" function of the table region will actually perform the unit conversions for you.
Note that this is only for direct scalar multiplier conversions. It does not work for temp units...
This way you don't have to cancel out units in the matrix going into the table. The "units summary" will do that for you.
Note that the "unit summary" is selected but NOT displayed. There is also a proof with variables.
This idea comes from user ndtma on the Table Region topic, at least that's where i saw it first, maybe someone else did it first?






Hello wb.c

I know what you say, but it has the disadvantage that you can not put a header in the table. On the other hand,
it is very easy to make a copy of the table and delete in a single stroke the left part corresponding to the Units


Hi Jean:

A very simple solution for the problem of the conversion of the temperature in Celsius Degrees, is that you define
your own unit of degrees Celsius.


Table_Region_Grados_C.png


Table Region Carlos_Jean_R1.sm (11 КиБ) скачан 63 раз(а).


2 пользователям понравился этот пост
frapuano 29.06.2018 04:39:00, NDTM Amarasekera 29.06.2018 04:46:00
#20 Опубликовано: 29.06.2018 08:32:39
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

Hi Jean:

A very simple solution for the problem of the conversion of the temperature in Celsius Degrees, is that you define
your own unit of degrees Celsius.



Thanks Carlos for that one.
Thanks to all Doctors ... Nice for publishing.

Jean

Table Region Carlos.sm (12 КиБ) скачан 69 раз(а).

TableRegion.PNG

  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений