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 for Programming
 Forum for Origin C
 XY-Mapping in Matrix

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
5*10 Posted - 10/07/2011 : 09:31:50 AM
Hi all,

I 've a question concerning the mapping of x-y in a Matrix. I know allready that If I access a Matrix with OriginC I have to use the MatrixObject and here the SetXY(xmin,ymin,xmax,ymax) function to set a linear mapping.

Actually I would like to assert a special each row a "userdefined" value. These values are possibly stored in a vector. I could also define a nonlinear function to create these values.

Is there any possibility to manage my problem?

Bye 5*10
3   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 10/12/2011 : 2:03:14 PM
You can use Tick Indexed Dataset for Tick Labels Type found on the Tick Labels tab of the Axis dialog to display arbitrary values in place of current major ticks.

First establish your Major Ticks. In my example, I will use a Contour graph with X from -5 to 10 incrementing by 5, so my Major Tick Labels are -5, 0, 5, 10 (four values). My Y scale is o 10 100 by 20, so my Major Tick Labels are 0, 20, 40, 60, 80, 100 (six values).

In a Worksheet, fill column A with the 4 values you want to display on the X axis (could be column B - doesn't matter).
Fill column B with the 6 values you want to display.

In your graph, select Format : Axis Tick Labels : X Axis Tick Labels
Set Type to "Tick-indexed dataset"
Set Dataset to the A column of the sheet you used
Change Selection to Left
Set Type to "Tick-indexed dataset"
Set Dataset to the B column of the sheet you used
Click OK
5*10 Posted - 10/10/2011 : 06:51:16 AM
Hi Penn,

thx for you reply. I was afraid too. Now it is verified. Don't worry. I'll see how to manage. It is not such a problem. Would have been just a nice additional possibilty for me.

Thx

5*10
Penn Posted - 10/08/2011 : 9:52:13 PM
Hi,

I am afraid that Origin cannot do that currently. Do you want to make contour graphs? If so, you can put data to worksheet arranged as XYZ (not need linear as matrix does), and then make contour graph from this XYZ data.

Penn

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