Author |
Topic  |
|
pcvolkmar
Germany
Posts |
Posted - 09/05/2005 : 07:07:14 AM
|
Origin Version (Select Help-->About Origin): Operating System:win xp
Hello, Im working with some worksheet and graphics(created from these worksheets). I would like to change the values of the scale of the axes.
X: 0~12 __increment= 0,2,4,6,8,12 Y: 1e-4 ~1000 __increment= 0,0.1,1,10,100,1000
to creat the graphic:
%W=%H;
win -a %W; wks.col1.type=4; wks.col2.type=2; wks.col3.type=2; worksheet -s 1 0 4 0; worksheet -p 200 Line; label -x Spannung (V); label -y Stromdichte (mA/cm);
to change the scale --- I try this:
layer1.x.from=-1; layer1.x.to=12; layer1.x.inc=2;
layer1.y.from=1e-4; layer1.y.to=10; layer1.y.inc=9;
then the graph is lost. with this command : layer1.x.label.divideby=10; layer1.y.label.divideby=10; the graph is created, but it does not begin and it does not finish where I wish it.
if somebody can give an advice me, I thank for it. Pcvolkmar
|
|
Mike Buess
USA
3037 Posts |
Posted - 09/05/2005 : 1:37:29 PM
|
Tick labels are placed at equally spaced intervals (interval=increment) so you cannot get the labels you want for a linear plot. However, you can create a semilog plot which will automatically show the tick labels that you want...
layer1.y.from=0.1; layer1.y.to=1000; layer1.y.type=2; // log10 scale
Mike Buess Origin WebRing Member |
 |
|
pcvolkmar
Germany
Posts |
Posted - 09/07/2005 : 09:37:42 AM
|
Thanks a lot. PcVolkmar. |
 |
|
|
Topic  |
|
|
|