2D Plot Vectorised vector

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

#1 Posted: 1/15/2021 2:14:08 PM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: 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 KiB) downloaded 34 time(s).
#2 Posted: 1/15/2021 4:38:05 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 43 time(s).
#3 Posted: 1/15/2021 5:11:14 PM
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

I suggest one of the options
Heat Capacity M.sm (18 KiB) downloaded 40 time(s).
#4 Posted: 1/15/2021 5:43:39 PM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: 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 Posted: 1/15/2021 7:59:51 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 1/18/2021 5:40:33 PM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: 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 KiB) downloaded 33 time(s).
#7 Posted: 1/18/2021 9:38:10 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 1/19/2021 2:24:08 AM
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

Graph of a function with dimensionless arguments

Plot.sm (7 KiB) downloaded 32 time(s).
#9 Posted: 1/19/2021 1:51:11 PM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: 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 KiB) downloaded 33 time(s).
#10 Posted: 1/19/2021 3:05:57 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 42 time(s).
#11 Posted: 1/19/2021 5:01:14 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... super discretizer, algo style.

AlgoDiscretizer.PNG
#12 Posted: 1/19/2021 9:08:42 PM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: User

Wrote

The meshed pivot is an exceptional tool, save it.
Cheers ... Jean
Plot Otherwise SS6179.sm (35 KiB) downloaded 42 time(s).


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 Posted: 1/20/2021 11:49:12 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 33 time(s).
#14 Posted: 1/20/2021 4:01:51 PM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: 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 Posted: 1/20/2021 6:08:02 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 31 time(s).
#16 Posted: 1/20/2021 8:36:22 PM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: 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 KiB) downloaded 54 time(s).

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

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 1/20/2021 11:09:44 PM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: 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 Posted: 1/21/2021 8:48:58 AM
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

Graph with legend

Ps.sm (7 KiB) downloaded 31 time(s).
#20 Posted: 1/21/2021 11:17:04 AM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: 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
  • New Posts New Posts
  • No New Posts No New Posts