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
 Forum for Origin C
 XY-Mapping in Matrix
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

5*10

Germany
Posts

Posted - 10/07/2011 :  09:31:50 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

Penn

China
644 Posts

Posted - 10/08/2011 :  9:52:13 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

5*10

Germany
Posts

Posted - 10/10/2011 :  06:51:16 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

greg

USA
1379 Posts

Posted - 10/12/2011 :  2:03:14 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
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