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
 date axis of type log ?

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
carsten Posted - 02/25/2008 : 1:28:43 PM
Origin Version (Select Help-->About Origin): V8.0Pro SR1
Operating System: XP

I want to prepare a graph in which the x-axis is of type log. The lower x-scale is scaled in units hours (represented by real numbers), however the upper x-scale (also of type log) should be scaled in units of dates (e.g. 12.3.2007).

Carsten
1   L A T E S T    R E P L I E S    (Newest First)
Fay_Guo Posted - 02/26/2008 : 12:59:30 AM
Hi,

Do you want a graph with two X scales, top X-scale is scaled by real numbers while the bottom one has the samw scale with top X but displayed as date values?

If yes, could you try the following steps?

1. Suppose your hour values and date values were stored in column B and column C of Book1 respectively.

2. Click New Graph button and new a standard graph. Right-click on the graph and select Layer Management to open the dialog.

3. Make Add Tab active, choose (Linked) Top X from the drop-down list of Type. And click OK to close this dialog.

4. Set the type of these two X scales as log. Please note that, their scale range (defined by From and To in the ScaleTab of X Axis dialog) is greater or equal than the data range of column B.

5. Active layer1 and type
layer.x.ticksbydata$=book1_b
in the command window.

6. Active layer2 and type the same sentence as step 5 in the command window.

7. In order to show the upper X-scale as dates, pitch on the top X and double-click on it to open the dialog. Active Tick Labels Tab, select Tick-indexed dataset from Tyoe and choose [Book1]sheet1!C to Dataset. Click OK to close this dialog.


Thanks
Fay
Originlab Tech Sevice

Edited by - Fay_Guo on 02/26/2008 04:14:09 AM

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