The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Modifying 3D Plots via LabTalk

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
bunkytop Posted - 05/03/2003 : 5:12:33 PM
Hello,

I have two newbie questions regarding a LabTalk script which
produces 3D Color Fill Surface (Wire Mesh). My Labtalk program generates two matrices (Matrix1 and 2) and they are plotted with these two commands:

worksheet -p 242 mesh //(matrix 2 is already selected)
layer -i "matrix1"

Now there are two happy layers in the 3D plot, of the same color.

I need to add two Labtalk commands at this point:
1) Change the "front color" of the surface of each layer (not background) to whatever I want (e.g. red, blue, yellow).
2) A command to change the Plot Details: Layer: Speed/Size parameters to be "Matrix Data, Maximum points per dimension: 32 points per dimension in the X direction and 256 points per dimension in the Y direction.

I can do this manually each time (tedious), but does anyone know how to do this in labtalk? Thank you.

Christopher
2   L A T E S T    R E P L I E S    (Newest First)
bunkytop Posted - 05/10/2003 : 10:38:18 AM
Hello,

Indeed, that works great. Thanks to you, and also to Scott in Tech Support who talked me through this!

It is a crying shame, however, that these aspects of graphs are not completely accessible through LabTalk or the newer C interface.

Christopher
Laurie Posted - 05/07/2003 : 10:12:18 AM
Have you tried making the changes manually and then saving as a template? Select File:Save Template As.

Once you've created the new graph template, you can open it with the following command:

win -t plot NameofTemplate;

so for example if you named your template mesh2, you would use:

win -t plot mesh2;

You can then use the layer -i command to include both matrices in the layer.

OriginLab Technical Support

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000