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
 How to fill legend with info in line#1

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
rainer21 Posted - 05/12/2002 : 06:06:04 AM
Hello!

Maybe you could help me:

In the first row of my table there are the names
of the columns which I want to use in the legend

Example:

A(X) B(Y) C(Y) D(Y)
1 Voltage/U A1 A2 B1
2 0 0,045 0,043 0,062
3 1 0,076 0,072 0,092
4 2 0,152 0,150 0,205
....


Every table has about 50 columns and it would be
annoying to write A1, A2, B1, B2 etc. into the
legend by hand for every table.

How can I format "\L(1) %(1)" ect. to get the text from
the first line (A1, A2, B1,...) into the legend?


..In M$ Ecxel this is done automatically
but I do not want to use it because it
is not good enough for scientific analysis.

Thanks in advance
Rainer
1   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 05/12/2002 : 2:18:53 PM
If you are using Origin 5.0 or later, and open an Excel workbook with such data in Origin(File:Open Excel), and you select the data and plot, you get exactly what you are looking for.

If you import such data into Origin, the 1st row will also imported automatically as column label and when you plot, they also automatically appear in legend.

You can always write a simple script to take 1st row of each column and put them into column labels and when plotted, they will go into legend as well.

CP



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