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
 Ticksbydata

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
hauli Posted - 09/08/2006 : 01:55:22 AM
Origin Version (Select Help-->About Origin): 7.5
Operating System: Windows XP

Suppose I got the following data

x y
1 8
5 12
7 15
9 22
12 34
15 37

I plot a Graph and enter in the Script window:
layer1.x.ticksbydata$=data1_a;
layer1.y.ticksbydata$=data1_b;

the resulting graph displays correctly

but, if my data does not increase monotonically, as with the following data, the same procedure as described above produces a graph with missing marks on the y-axis; the marks for y-values 34 and 25 are not displayed. what is the problem?

x y
1 8
5 12
7 15
9 22
12 34
15 25

In reality my data is much more complicated, but the results are the same

Thanks for any help
Hauli



Edited by - hauli on 09/08/2006 02:04:34 AM
1   L A T E S T    R E P L I E S    (Newest First)
larry_lan Posted - 09/08/2006 : 05:05:07 AM
Hi Hauli:

If you want this property to set ticks, the data SHOULD BE increase monotonically. However, you can add one more column and sort it to use as ticks value, like:



Larry
OriginLab GZ Office

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