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 for Programming
 LabTalk Forum
 Tick Label Object
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

pcvolkmar

Germany
Posts

Posted - 09/05/2005 :  07:07:14 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

pcvolkmar

Germany
Posts

Posted - 09/07/2005 :  09:37:42 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks a lot.
PcVolkmar.
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