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
 Matrices and Plot3D -> Contour plot

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
abrax Posted - 12/18/2003 : 11:21:28 AM
Hi forum,

excuse me for such a long request. I will give a summary of the problem first, and then some more details for those, who would like to reproduce my problem.

Problem:
========
I refer to Origin 6.0 and 6.1. I have got an image matrix with a resolution of 64x64 dots to be plotted as a contour plot. Each time I try the contour plot, I get a diagram with an axis range of (1..10) x (1..10) units (s. below for steps to this diagram). So the original resolution information of the image matrix are not obvious at the diagram scale.

Even worse, if I rescaled the diagram axis by a factor 10/64 (s. below: will restore original resolution 64x64 to scale), the grapics ended at 64 correctly, but started only at 6.4.

Here's the question:
====================
How can I create a contour plot with the correct scale axis range (i.e. 1..64 x 1..64) and without any such distortions.

Best regards & thanks in advance
A.Krause




=====================================================================
How I created the contour plot:
===============================
I think it should work like this with a squared matrix of any size, just fill it with any positive values and adopt the scale values afterwards...
my Source: 64x64 matrix object
select in menu: Plot3D -> Contour-Colour Fill
both scales should now have the range 1..10


How I rescaled the contour plot:
================================
Right klick on the Y-axis, choose: Properties
select tab "Tick Labels"
for left- and bottom-axis do
set "Divide By Factor"=0.15625
(= 10/64)
press "Apply"-button

select tab "Scale"
for horizontal- and vertical-axis do
set "From" = 1
"To" =64
"Increment"= 8
press "OK"-button

Now you should have the correct resolution showing at the axis, but the graphics will start only at 6.4 while between 1..6.4 should be a white area now. That is why the former starting point (=1) has also been rescaled by factor 6.4. I think some kind of scale offset could help here, but I could not find such option...
3   L A T E S T    R E P L I E S    (Newest First)
abrax Posted - 01/14/2004 : 04:40:20 AM

It works (of course)! :o)
Thanks very much again.
abrax Posted - 12/18/2003 : 5:04:17 PM
big problem, short solution... :o)

I will check out your solution when I'm back at work next year. Thank you very much for your effort and the quick answer.
cpyang Posted - 12/18/2003 : 12:40:39 PM
You can go back to the matrix and choose
Matrix::Set Dimensions

and keep the Rows and Columns unchanged, but set First and last X value to 1 and 64, same for Ys.

Then remake the contour plots.

CP



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