Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
harryandyuto
Posted - 05/27/2005 : 05:26:26 AM Hi!
I want to plot a graph, which has as X-axis a certain column of the data file. E.G. my Datafile (txt) looks like this:
Voltage (V) Luminance (cd) Current Density (mA/cm²) Current Efficiency (cd/A) PowerEfficiency (L/W) -10 0.102331 0.00240395 0 0
After Import Voltage (V) is the X-Value. For some plots OK. But then I want to plot e.g. Luminance over Current Density. How to define a column as new X?
win -a LUMI-CD; layer -s 1; //Select layer 1 layer -i %(%W,2); win -h 0; This plots Lumi over voltage - of course...
and how to hide then a window? win -h 0 does not work.
THX Harald Cholewa
1 L A T E S T R E P L I E S (Newest First)
Mike Buess
Posted - 05/27/2005 : 10:31:55 AM Hi Harald,
There are several ways to change column types but this is perhaps the easiest...
win -a %W; wks.col1.type=1; // change col 1 to Y wks.col3.type=4; // change col 3 to X win -a LUMI-CD; layer -s 1; layer -i %(%W,2); // plot Luminance vs Current Density win -h 1; // hide the graph window (win -h 0 shows the window)