| T O P I C R E V I E W |
| G.Bartsch |
Posted - 06/22/2006 : 08:28:03 AM I would like to convert a worksheet to a matrix (i think mat object should be fine for that) and then plot it as one of those contour plots (or even profiles). Unfortunately i dont find a way to acces these plotting options by labtalk. Saving as a template and recalling that didnt work. Does anyone know how to do such things? thank you for your efforts |
| 2 L A T E S T R E P L I E S (Newest First) |
| G.Bartsch |
Posted - 06/27/2006 : 03:41:29 AM wow! thank you for the detailed answer. i think it will help for sure.
|
| greg |
Posted - 06/22/2006 : 09:37:14 AM A tip that's been mentioned in the Forum many times : Open the Script Window Hold down the Shift and Ctrl key while selecting a menu option (Plot : Contour Plot : Contour - Color Fill for example) and if a script executes that option, then it types to the Script Window ( along with a menu ID ) rather than executing, and Code Builder may open to any file-based code.
If I do that for Profiles/Contour, I see that Origin runs : run.section(Plot3D,ContourColor)
You can just execute that line to plot your matrix.
Looking in Code Builder, I see in that section the command to plot is : worksheet -p 226 contour
I could customize a contour plot and save as a special template - MyContour.OTP - and plot it thusly :
worksheet -p 226 MyContour
There is also a generic mechanism of loading a template then filling the template as shown here :
%M = %H; // remember matrix window name (same as matrix data name) win -t plot MyContour; // Load a graph template layer -i %M; // Include a dataset in the layer layer -a; // rescale
|