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
 Origin Forum
 Custom legend

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
pavel1 Posted - 09/05/2008 : 06:09:20 AM
Hello,
I am using OriginPro 8 SR3.
I would like to display workbook names or dataset names in the legend.
I tried to enter Custom Legend Format (in Plot Details dialog), as @W or @D. But it does not work, and after re-opening Plot Details the field is empty.
What is the correct format for Custom Legend?

Thanks in advance.

Pavel

7   L A T E S T    R E P L I E S    (Newest First)
Deanna Posted - 09/08/2008 : 05:50:53 AM
Hmm.. I can reproduce this bug after setting my Win XP's language to Czech.

Thank you for reporting the bug. And we are very sorry for the inconvenience. We have written down this bug in our tracker system as item #12161. Our developers will try to fix it before next SR.

Deanna
OriginLab Technical Services
pavel1 Posted - 09/08/2008 : 05:12:57 AM
Hi Deanna,

thanks once more. My main problem is really that @W, @D do not work
if I apply exactly the same procedure as you described. However,
I performed additional research and found that everything is O.K. if I change Windows (XP SP3) Regional Options from Czech to English(United States). So, this is probably to be corrected in next SR, I will use some workaround in the meantime.

Pavel
Deanna Posted - 09/08/2008 : 03:55:22 AM
Hi Pavel,

The translation mode works only for legend text that contains "%(i)", where i is the layer content index.

Please close Origin and restore the legend control text in Origin.ini to
Legend=\L(%d) %%(%d)\r\n

Then restart Origin.

This makes the translation mode working in Origin again. Then you can customize the translation mode in the Plot Details dialog. Save this graph as a tempalte for future use. Next time you create a graph with this template, the customized translation mode should apply.

I am not sure whether this is what you want. If it is not, please let us know.

You mentioned in your first post that @W and @D don't work. However they work in my computer with SR3. I selected Custom from the Translation Mode drop-down list in the Plot Details dialog and then entered "@D" in Legend Custom Format. After clicking OK in the dialog, the legend of the active graph changed to dataset names, which was correct.



Deanna
OriginLab Technical Services
pavel1 Posted - 09/08/2008 : 03:20:10 AM
Hi Deanna,

thank you very much for your help. Modification of the origin.ini file works well.
However, if the legend is changed in this way the translation mode does not work at all (even for predefined possibilities: Data Range, Long Name, ...).
I would be nice to have a possibility to create, using customized translation mode, different legends (e.g. for graph templates)directly from the Origin GUI.

Pavel
Deanna Posted - 09/08/2008 : 02:15:17 AM
Hi Pavel,

To customize the default legend, you will need to edit the file origin.ini in your user files folder. You can follow this link to see the details:
http://wiki.originlab.com/~originla/howto/index.php?title=QuickHelp:How_do_I_customize_the_default_axis_titles_and_legend



Deanna
OriginLab Technical Services
pavel1 Posted - 09/05/2008 : 09:15:04 AM
Thanks cpyang,

however %(1,@W) does not work either. It is O.K. for a direct substitution in the legend properties dialog but my concern is for the default legend format which should appear after clicking New Legend.

Pavel
cpyang Posted - 09/05/2008 : 08:40:45 AM
Are you following this link?

http://wiki.originlab.com/index.php?title=LabTalk:Substitutions_Notations#.25.28_.29_Substitution

Should be in the form of %(1, @W), %(1,@D)

CP

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