Units in Table Region

Units in Table Region - That the Table shows the desired units. - Mensajes

#1 Publicado: 7/3/2018 14:21:01
CBG

CBG

78 me gusta en 312 mensajes.

Grupo: User

Will it be possible?


Table_Units.png


Table_Units.sm (9,37 KiB) descargado 1336 vez(es).


Best Regards

Carlos
#2 Publicado: 7/3/2018 14:41:34
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: 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,31 KiB) descargado 1363 vez(es).
table1.png
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
A 1 usuarios les gustó este mensaje
CBG 7/3/2018 15:11:00
#3 Publicado: 7/3/2018 15:11:23
CBG

CBG

78 me gusta en 312 mensajes.

Grupo: 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 Publicado: 7/3/2018 16:31:35
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: 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.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#5 Publicado: 7/3/2018 21:35:17
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Will it be possible?



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

Table_Units(1).sm (9,87 KiB) descargado 1325 vez(es).

UnitTable.PNG
#6 Publicado: 8/3/2018 13:55:13
CBG

CBG

78 me gusta en 312 mensajes.

Grupo: 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 Publicado: 8/3/2018 15:37:38
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 18/6/2018 21:21:58
⠀

⠀

26 me gusta en 155 mensajes.

Grupo: 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 Publicado: 18/6/2018 22:30:22
CBG

CBG

78 me gusta en 312 mensajes.

Grupo: User

Something like this?

Table_Matrix.png


Table_Matrix.sm (8,11 KiB) descargado 1328 vez(es).


Best Regrads

Carlos
#10 Publicado: 19/6/2018 11:39:56
Ruben Sidranski

Ruben Sidranski

17 me gusta en 465 mensajes.

Grupo: 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 Publicado: 19/6/2018 13:11:25
⠀

⠀

26 me gusta en 155 mensajes.

Grupo: User

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

Units-Table.PNG

Mixed Units Ideas - Table.sm (25,34 KiB) descargado 1272 vez(es).
#12 Publicado: 19/6/2018 13:39:04
CBG

CBG

78 me gusta en 312 mensajes.

Grupo: User

Table_Units_R1.png

Mixed Units Ideas - Table_R1.sm (38,79 KiB) descargado 1265 vez(es).


Best Regards

Carlos
#13 Publicado: 19/6/2018 13:48:06
⠀

⠀

26 me gusta en 155 mensajes.

Grupo: 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 Publicado: 19/6/2018 17:20:36
CBG

CBG

78 me gusta en 312 mensajes.

Grupo: 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 Publicado: 27/6/2018 13:22:20
⠀

⠀

26 me gusta en 155 mensajes.

Grupo: 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 Publicado: 27/6/2018 14:09:34
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

It does not work for temp units...



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

Table6179Doctored.PNG

Table Region Carlos.sm (10,81 KiB) descargado 1322 vez(es).
#17 Publicado: 27/6/2018 14:31:56
⠀

⠀

26 me gusta en 155 mensajes.

Grupo: User

Jean,

"S:'L/s" should be "S:'L/'s". Note the added "'" in order to show "s" as blue unit.
#18 Publicado: 27/6/2018 19:47:27
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 28/6/2018 23:57:51
CBG

CBG

78 me gusta en 312 mensajes.

Grupo: 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,7 KiB) descargado 1371 vez(es).


A 2 usuarios les gustó este mensaje
frapuano 29/6/2018 4:39:00, NDTM Amarasekera 29/6/2018 4:46:00
#20 Publicado: 29/6/2018 8:32:39
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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,15 KiB) descargado 1299 vez(es).

TableRegion.PNG

  • Nuevos mensajes
  • Sin mensajes nuevos