| 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 |
|
|