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
 Removing legend frame and displaying lines

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
Katti Posted - 10/18/2018 : 11:11:25 AM
Is there a script command to remove the legend frame?

Also, I'm trying to edit the legend text, but I lose the line representations. I'm using legend.text$, is there an option for showing the corresponding plot lines?

Example:
legend.text$= %(1Y,@CL)
%(3Y,@CL)
%(5Y,@CL);

which displays the comments for plot lines 1, 3, and 5, but not a representation of the lines themselves. Is there a way to display them?
5   L A T E S T    R E P L I E S    (Newest First)
Katti Posted - 10/23/2018 : 04:54:40 AM
quote:
Originally posted by yuki_wu

Hi Katti,

1# You should write text like:
legend.text$= \l(1) %(1Y ,@C)




Thanks. My mistake was mistaking the "l" for a "1"
Glad that's cleared up
yuki_wu Posted - 10/19/2018 : 05:17:53 AM
Hi Katti,

1# You should write text like:
legend.text$= \l(1) %(1Y ,@C)

You could take a look at these pages to know more about legend and text label substitution notation:
https://www.originlab.com/doc/LabTalk/ref/Legend-Substitution-Notation
https://www.originlab.com/doc/LabTalk/ref/Text-Label-Options

2# Use pfit2l X-Function to fit page to layers:
https://www.originlab.com/doc/X-Function/ref/pfit2l

Regards,
Yuki

OriginLab
Katti Posted - 10/19/2018 : 03:16:10 AM
quote:
Originally posted by nick_n


LT script: legend.background =0;



Thanks, that works for the legend :-)

Anyone have an idea about how to include the plot lines in the legend, as mentioned above?
nick_n Posted - 10/18/2018 : 3:23:45 PM
Hi,

>>Is there a script command to remove the legend frame?
LT script: legend.background =0;
BR,

Nikolay
Katti Posted - 10/18/2018 : 11:27:34 AM
I'm also trying to fit the graph page to its layers, is there a command for that?

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