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
 Getting a legend symbol

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
a_user Posted - 08/20/1998 : 12:23:00 PM
Hi there,
I cannot get an open square symbol in a legend for a couple of graphs I am
drawing using version 5 with patch 2. I find the solid square, solid and
open circle are available, but the open square eludes me. Any suggestions
would be appreciated.

Thanks Bruce

3   L A T E S T    R E P L I E S    (Newest First)
a_user Posted - 08/20/1998 : 12:26:00 PM
Legend clarification: missing open square

The open square is available in the plot details menu but what I wanted was in
the text control
menu refer to p331 in manual, I think p350,351 should be reviewd as I find the
response of the line controlling the legend to be different in the way I read
the manual
\L(1) = filled circle, \L(3)= filled box, \L(5) = open circle, \L(7) = open
box.

I have not found an appendix that tables all the options, sure would be
nice rather than guessing, which is the way I found the symbol that was
'missing'

a_user Posted - 08/20/1998 : 12:25:00 PM
Missing Open Square Symbol

Open should be the second option in the Style drop-down box in the Plot Details dialog box accessed through the Format:Plot menu.
If it is not there, then there is something drastically wrong with your system. You may have to re-install (and use PATCH2.EXE) again. If you have made any modifications to the standard Templates, you should copy them to a safe place before installing. All the .OTP Plot Template files are dated 8/11/97.

a_user Posted - 08/20/1998 : 2:48:00 PM

Legend Notation with Text Control

The documentation is correct and your response indicates you don't understand the Legend notation(s).

Any Text object can be a Legend if it uses the embedded text formatting switch for a Legend:


\L()

The arguments (what goes in the parentheses) to this switch determine ultimate appearance, but in no case is \L(1) equivalent to a filled circle.

Here are the three forms of \L():

SYNTAXDocumentation PageExample
\L(DataListPosition)347\L(2)
The symbol used by the second dataset in the existing layer.
\L(LayerNumber.DataPlotNumber,DataPointNumber)348\L(2.1,6)
The symbol used by the sixth point of the first dataset in layer 2.
\L(O(ColorSym,Sym,Fill,Size,ColorLn,LineStyle,Gap,LnWidth))350\L(O(2,1,3,6,4,0,7,5))
Green, Square, Hollow, 6pt, Cyan, Solid, 7%gap, 5pt

Note that the first and second of these notations require that a datapoint exists (is plotted) with the desired formatting, while the third notation allows any of the options that are in the drop-down lists for Line/Symbol Color, Shape, Style, or Type. You can see these lists in the Plot Details dialog of any plot, accessed by selecting Format:Plot from the main Origin menu for any Graph window.


The second notation is useful when you have multi-layer plots and desire a single Legend object. The third is useful if you want a Legend that displays a symbol even if you have no instance of that symbol type.


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