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
 Origin Forum
 Manually controlling the legend: bar plot symbols
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

johannes.kastl

Germany
71 Posts

Posted - 02/24/2014 :  10:03:08 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi everyone,

one can control the display of symbols in the legend via the \l()-syntax, that is described here: http://www.originlab.com/www/helponline/Origin/en/UserGuide/Manual_Control_of_the_Graph_Legend.html

It is possible to display user-defined lines and symbols, i.e. ones that are not used in the graph at all. But I found no way to display user-defined 'bar/column symbols' in this way.

'bar/column symbols' means the small boxes showing the color and pattern of the columns/bars used in the plot, that are displayed via
\(1)
for the used plots.

Thanks in advance,

Johannes

Origin Ver. and Service Release (Select Help-->About Origin): 9.0
Operating System: Win7

lkb0221

China
497 Posts

Posted - 02/24/2014 :  10:22:47 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Yes, custom legend for bar is not supported yet in LabTalk.
But you can always use a phantom plot for extra legend.
See my example below:


Zheng
OriginLab
Go to Top of Page

johannes.kastl

Germany
71 Posts

Posted - 02/24/2014 :  11:13:59 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello Zheng,

thanks for the clarification. Actually, the phantom plot is how we workaround already, but it sucks, as soon as you have more than some plots in a graph...

Any plans to implement this into future versions?

Regards,
Johannes
Go to Top of Page

lkb0221

China
497 Posts

Posted - 02/24/2014 :  11:45:42 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Another workaround is to directly draw a rectangle and a text. Then no phantom plot needed. But you may need to set the size manually.

Would you mind provide a little more details about why you need such a independent legend? It will be better if we can also have your example opj.

Zheng
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