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
 Description next to curves
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

gzforever

Poland
14 Posts

Posted - 11/05/2016 :  5:02:29 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello everyone,

I wrote simple script, which imports a data from a multiple .txt files to one workbook with different sheets. Then it creates the empty graph and after that its adding a few plots on this graph. My question is : Can i set the axis names and units on the graph ? (i dont want to do it by setting long names and units in workbook). My another problem is setting the series names on the graph (i have a few curves on it).

[EDIT]
somehow i managed to customize these options. The last thing i need to complete my script is doing the legend with descriptions next to curves. The effect i want to achieve is visible on the picture below:



I found the video, how to do it manually -https://www.youtube.com/watch?v=CAMpLDeSHCs but i would like to apply it into my script.

I will be grateful for every clue,
JZ

Edited by - gzforever on 11/05/2016 9:20:15 PM

yuki_wu

896 Posts

Posted - 11/07/2016 :  02:16:38 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi JZ,

If you want to add the label to the individual plot, you can try:
1.Right click in the upper-left corner of the worksheet and select View: Parameters from the shortcut menu.

2.Enter the text of each label directly in the Parameters row cell(s).

3.Active the graph window
4.Run the script

legend -p 


Hope this can be some help.

Regrads,
Yuki
OriginLab
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