2D Plot Vectorised vector

2D Plot Vectorised vector - Not sure this is possible - Mensajes

#1 Publicado: 15/1/2021 14:14:08
Ruben Sidranski

Ruben Sidranski

17 me gusta en 465 mensajes.

Grupo: User

Graphing is NOT my forte ...
Can we plot, quickly, a function that uses two ranges? I cannot find anything in my notes that will help me Heat Capacity.sm (14,56 KiB) descargado 1177 vez(es).
#2 Publicado: 15/1/2021 16:38:05
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Can we plot, quickly, a function that uses two ranges ?


The 2nd plot is only the XY axes system, as r and t are just multiple.
Maybe, there is a missing link ?
Cheers ... Jean

Heat Capacity.sm (22,16 KiB) descargado 1174 vez(es).
#3 Publicado: 15/1/2021 17:11:14
Fridel Selitsky

Fridel Selitsky

520 me gusta en 451 mensajes.

Grupo: User

I suggest one of the options
Heat Capacity M.sm (18,26 KiB) descargado 1158 vez(es).
#4 Publicado: 15/1/2021 17:43:39
Ruben Sidranski

Ruben Sidranski

17 me gusta en 465 mensajes.

Grupo: User

Jean,
Your file is giving me some of the dreaded "black boxes". Easy fix on the sheet. Just pointing it out as you are using "0.98.6179" and latest stable is "0.99.7610"
Thanks for your help

Ber7,
Thank you as well
#5 Publicado: 15/1/2021 19:59:51
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Jean,
Your file is giving me some of the dreaded "black boxes". Easy fix on the sheet. Just pointing it out as you are using "0.98.6179" and latest stable is "0.99.7610"
Thanks for your help


From recollection black boxes started appearing at 7610.
Reported many times by many ... not doctored then suffer.
The converse is true, i.e: 6179 open 7610 and more recent black.
Is it defendable ? ... update , you are retarded.
The truth is: it is a bug and I sign !
SS 6179 does not open black all 7610 and later.
Thanks Ber7, you got it right IMHO.
Cheers ... Jean

#6 Publicado: 18/1/2021 17:40:33
Ruben Sidranski

Ruben Sidranski

17 me gusta en 465 mensajes.

Grupo: User

Trying to take Ber7's help a little further.
Is there a way to "functionalize" the loop? I'm having an issue with UNITS (required). Not possible, because of units, is an acceptable answer.Heat Capacity Function.sm (28,72 KiB) descargado 1153 vez(es).
#7 Publicado: 18/1/2021 21:38:10
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Trying to take Ber7's help a little further.
Is there a way to "functionalize" the loop?


Work sheet empty ... incorrect format.
Just re-post Ber7 document !

#8 Publicado: 19/1/2021 2:24:08
Fridel Selitsky

Fridel Selitsky

520 me gusta en 451 mensajes.

Grupo: User

Graph of a function with dimensionless arguments

Plot.sm (7,33 KiB) descargado 1161 vez(es).
#9 Publicado: 19/1/2021 13:51:11
Ruben Sidranski

Ruben Sidranski

17 me gusta en 465 mensajes.

Grupo: User

Thank you again.

Looks like I was not clear with my question.
  1. Where you able to open my file? Jean had issues.
  2. I am trying to "generalize/discretize the loop" for other equations/functions where I have two range variables
  3. At one point, I had a third variable and that was the function/equation f(#x,#y):= ????; plot2rangevars:=(#x,#y,f(#x,#y)):={program}
Units are important as they fix the scalars ...
Re-uploaded file without a closed area to see if this helps Jean
Heat Capacity Function.sm (28,95 KiB) descargado 1135 vez(es).
#10 Publicado: 19/1/2021 15:05:57
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Re-uploaded file without a closed area to see if this helps Jean


Just opened Ber7 document and completed to export the multiple data sets.
You can tabulate as well p2, p3, ... p6 then make a unique export table.
The meshed pivot is an exceptional tool, save it.
Cheers ... Jean

Plot Otherwise SS6179.sm (35,29 KiB) descargado 1158 vez(es).
#11 Publicado: 19/1/2021 17:01:14
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

... super discretizer, algo style.

AlgoDiscretizer.PNG
#12 Publicado: 19/1/2021 21:08:42
Ruben Sidranski

Ruben Sidranski

17 me gusta en 465 mensajes.

Grupo: User

Wrote

The meshed pivot is an exceptional tool, save it.
Cheers ... Jean
Plot Otherwise SS6179.sm (35,29 KiB) descargado 1158 vez(es).


You need to delete the units in the your version as BER7 had accounted for it in the function ... I know you hate units. I need to digest your follwup posted sheet
Screenshot 2021-01-19 190605.png

#13 Publicado: 20/1/2021 11:49:12
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

You need to delete the units in the your version as BER7 had accounted for it in the function


You can have it otherwise as well.

Page8 Elsid.sm (59,07 KiB) descargado 1307 vez(es).
#14 Publicado: 20/1/2021 16:01:51
Ruben Sidranski

Ruben Sidranski

17 me gusta en 465 mensajes.

Grupo: User

Thank you Jean,
Really helpful. Is there a reason that a legend cannot be created on the plots (X-Y Plot) that are individual colors? I realize you used the built in graph and I updated my snippet sheet with the X-Y PlotCapture.PNG
NEVERMIND ... It'S under TRACES, not LEGEND
#15 Publicado: 20/1/2021 18:08:02
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Thank you Jean,
Really helpful. Is there a reason that a legend cannot be created on the plots (X-Y Plot) that are individual colors? I realize you used the built in graph and I updated my snippet sheet with the X-Y Plot


X_Y plot does not recognize the multiple linterp, thus plots one trace only.
Alternately, you can add some sort of legend on the QuickPlot.
Cheers ... Jean

ElsidLegend.PNG

Page8 Elsid.sm (60,17 KiB) descargado 1335 vez(es).
#16 Publicado: 20/1/2021 20:36:22
Ruben Sidranski

Ruben Sidranski

17 me gusta en 465 mensajes.

Grupo: User

Thank you Jean and Ber7.
This has turned into a rabbit hole to document (notes) how to plot an equation with two range variables with a function. Is there a way to eliminate #X1 (t1 in this example)? In short, is there a function? or way to eliminate the units from #X (t in this example). Heat Capacity Function1.sm (20,42 KiB) descargado 1715 vez(es).

Didn't work how I wanted, but similar to dividing vectorized (t/Unitof(t)).
#17 Publicado: 20/1/2021 22:47:42
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

... again, document empty "Incorrect Format"
Ber7 did the 2 var collection in nested vector form,
my last version is table style, much more convivial as I'm used to do.
Units are just a pen in the ass[hole].
A good way is to work units-less, then append silent units.
Cheers ... Jean
#18 Publicado: 20/1/2021 23:09:44
Ruben Sidranski

Ruben Sidranski

17 me gusta en 465 mensajes.

Grupo: User

Not sure why you cannot open. The previous solution and worksheets work as intended. Thank you

I'm now trying to figure this out to fully make a "snippet" function as long as I define the the empirical equation divided by the units. It would have multiple applications for me.
#19 Publicado: 21/1/2021 8:48:58
Fridel Selitsky

Fridel Selitsky

520 me gusta en 451 mensajes.

Grupo: User

Graph with legend

Ps.sm (7,12 KiB) descargado 1164 vez(es).
#20 Publicado: 21/1/2021 11:17:04
Ruben Sidranski

Ruben Sidranski

17 me gusta en 465 mensajes.

Grupo: User

Thank you guys. I should have just deleted the question when I figured out the legend issue in lieu of answering myself. As mentioned above, it was under TRACES, not LEGEND, in the X-Y Plot

Were you able to open up my last attachment? Jean had issues again
This is my current hang up with the units
  • Nuevos mensajes
  • Sin mensajes nuevos