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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 High-Low-Close chart
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

St-Ranger

USA
17 Posts

Posted - 11/10/2003 :  1:36:28 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I wonder how to do a few things from LabTalk (Origin 6), if that's at all possible:
1. Create a High-Low-Close chart from a script.
2. Create a High-Low-Close chart that has a single layer, but two sets of data (two curves). This is very useful for comparison of two HLC graphs to each other.

Thanks!

greg

USA
1380 Posts

Posted - 12/05/2003 :  3:19:04 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Can't quite do this in LabTalk.
Should look like:

win -t plot hlclose; // Load the Hi-Lo-Close template
layer -i205 Data1_B Data1_C Data1_D; // Add the first HLC datasets
layer -g; // Group them
layer -i205 Data2_B Data2_C Data2_D; // Add the second HLC datasets
layer -g; // Group them <<<--- OOPS!

The group option of the layer command only applies to ALL datasets in the layer, so instead of executing the second "layer -g;" you would have to manually go into the layer and group Data2 datasets.

You would have to use a two-layer workaround to do this currently.



Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000