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
 Plot Symbol Component syntax for Option
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

AKazak

Russia
1205 Posts

Posted - 08/13/2021 :  05:39:00 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
OriginPro 2022 (64-bit) Beta2 9.9.0.105
Windows 7 SP1 x64

Greetings!

What does this option work and how can I specify this for all point indices (https://www.originlab.com/doc/LabTalk/ref/Legend-Substitution-Notation#Plot_Symbol_Component)?

quote:
\L([LayerIndex.]PlotIndex[,PointIndex[,Option]])

1=Show Border or Edge color as a block, 2=Show Interior color as a block, 3=Show Pattern Color (or Black) as a block, 4=Show empty Symbol (or special Not Used), 5=Not Used, 6=Not Used, 7=Show actual style.


Thank you.

---
Andrey

snowli

USA
1386 Posts

Posted - 08/13/2021 :  09:21:11 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Andrey,

Could you give an example of the need to set it?

If each point of your plot is different, u can right click legend and choose Point to Point legend which automatically shows each point in legend.

Thanks, Snow
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 08/13/2021 :  10:48:48 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by snowli

Hi Andrey,

Could you give an example of the need to set it?

If each point of your plot is different, u can right click legend and choose Point to Point legend which automatically shows each point in legend.

Thanks, Snow




Dear Snow,

Currently, I want to learn the way this syntax work.
Can you provide few examples since help page lack of them?

---
Andrey
Go to Top of Page

snowli

USA
1386 Posts

Posted - 08/13/2021 :  11:24:42 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
It depends what plot type it is.
E.g. try to plot scatter plot with open circle, border and fill use different colors.
Though it's scatter plot, u can use the following to show blocks instead of circle shape in legend.

\l(1,4,1) it will show a block with border color of 4th point
\l(1,4,2) it will show a block with fill color of 4th point

Try to plot a bar chart with each bar using different border color, fill color and pattern colors.
U can use the following
\(1,4,1) to show block with border color of 4th point
\(1,4,2) to show block with fill color of 4th point
\(1,4,3) to show block with pattern color of 4th point
\(1,4,4) will show open circle with black color no matter what border color it is.

I couldn't figure out when 7 works.
But usually don't enter the option. It will use the true plot's style.

Thanks, Snow
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 08/13/2021 :  12:17:19 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by snowli

It depends what plot type it is.
E.g. try to plot scatter plot with open circle, border and fill use different colors.
Though it's scatter plot, u can use the following to show blocks instead of circle shape in legend.

\l(1,4,1) it will show a block with border color of 4th point
\l(1,4,2) it will show a block with fill color of 4th point

Try to plot a bar chart with each bar using different border color, fill color and pattern colors.
U can use the following
\(1,4,1) to show block with border color of 4th point
\(1,4,2) to show block with fill color of 4th point
\(1,4,3) to show block with pattern color of 4th point
\(1,4,4) will show open circle with black color no matter what border color it is.

I couldn't figure out when 7 works.
But usually don't enter the option. It will use the true plot's style.

Thanks, Snow



Dear Snow,

OK, I see that this syntax is for showing blocks or empty symbols. Right?

---
Andrey
Go to Top of Page

snowli

USA
1386 Posts

Posted - 08/13/2021 :  4:13:15 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Yes. Basically.

Thanks, Snow
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