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
 Using 'links' in manually defined symbol in legend
 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/06/2013 :  09:49:50 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi everyone,

I know this is a pretty strange issue, but it would keep my from having to adjust many graphs manually:

One can define a symbol for the legend:
\L(O SymEdgeColor,Sym,Fill,Size,ColorLn,LineStyle,Gap,LnWidth,SymFillColor, EdgeThickness)

And one can use 'links' to worksheet cells in the legend (if the substitution level is set to 1 or higher) so the value of this cell appears in the legend:
%([Book1]Sheet1,2,13)

Is it possible to replace on of the numbers in the symbol definition by the value of a cell by linking?

This does not work here:
\L(O ]%([Book1]Sheet1,2,13),1,1,5,0,0,0,0,0,0)


Thanks in advance,
Johannes


Origin Ver. and Service Release (Select Help-->About Origin): 8.6.0G SR3
Operating System: XP

Hideo Fujii

USA
1582 Posts

Posted - 02/06/2013 :  5:03:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Johannes,

The syntax is long and error prone, so I thing the following approach is more effective
for your purpose to control the legend symbol (color, size, shape, etc.):

you can add an invisible plot just for the reference to show the legend with indexing
to your control data column. Please see the screenshot below:



Hope this makes your work easier.

--Hideo Fujii
OriginLab
Go to Top of Page

johannes.kastl

Germany
71 Posts

Posted - 02/07/2013 :  06:50:44 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Hideo,

thanks for your answer, but the graph itself is to complex to introduce another dataset just to get the legend. Of course I could enter the rgb-codes manually etc.

But to be honest, I was curious why my code did not work, because I see no reason why it should not work.

Regards,
Johannes
Go to Top of Page

Hideo Fujii

USA
1582 Posts

Posted - 02/07/2013 :  12:04:46 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Johannes,

It seems a bug as I have tried to specify a referential notation in \L syntax, but only a constant was accepted. I have reported this in our bug database (ORG-8041) to fix in the future release.

We are sorry for the inconvenience.

--Hideo Fujii
OriginLab
Go to Top of Page

johannes.kastl

Germany
71 Posts

Posted - 02/12/2013 :  01:33:26 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hideo,

thanks for the bug entry. Appreciated!

Regards,
Johannes
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