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
 plot 3d line with script

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
thuang Posted - 02/14/2006 : 1:32:48 PM
hi, i'm trying to plot multiple 3d lines together in origin 7.5 using labtalk. i use:

window -a data;
worksheet -s 1 0 3 0;
worksheet -p 240 3d;

where data is the worksheet and the 1st 3 columns are x, y, and z. i get a 3d scatterplot, but is there a way to connect the dots using script? i tried:

set data_z -l 1;

but it didn't connect the dots. if there is a solution for this, can i also connect the dots when i add more graphs to the first graph when i use:

layer -i240 data_z2;

any help would be greatly appreciated, thanks

Edited by - thuang on 02/15/2006 3:56:23 PM
2   L A T E S T    R E P L I E S    (Newest First)
thuang Posted - 02/22/2006 : 3:14:17 PM
well, i'm trying to have multiple plots in the same layer, but i also don't know how to use origin C =/ thanks for the suggestions though, maybe i should start using origin C
Hideo Fujii Posted - 02/16/2006 : 6:38:51 PM
Hi thuang,

If your graph contains only one plot, you can use a template which you previously saved:
  worksheet -p 240 3Dtest1
Here 3Dtest1 is a template name 3Dtest1.OTP stored in the Origin directory.

If you have more than two plots, you may consider to apply a graph theme by calling a small Origin C code like a piece below (part):
	Page pg = Project.Pages();
pg.ApplyFormat("Themes\\PtConnect.OTH");

There may be better ways, but this is one possibility.

--Hideo
OriginLab



Edited by - Hideo Fujii on 02/16/2006 6:40:37 PM

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