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
 Plot Symbol Component syntax for Option

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
AKazak Posted - 08/13/2021 : 05:39:00 AM
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
5   L A T E S T    R E P L I E S    (Newest First)
snowli Posted - 08/13/2021 : 4:13:15 PM
Yes. Basically.

Thanks, Snow
AKazak Posted - 08/13/2021 : 12:17:19 PM
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
snowli Posted - 08/13/2021 : 11:24:42 AM
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
AKazak Posted - 08/13/2021 : 10:48:48 AM
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
snowli Posted - 08/13/2021 : 09:21:11 AM
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

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