Author |
Topic  |
|
abrax
Germany
Posts |
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...
|
|
cpyang
USA
1406 Posts |
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
|
 |
|
abrax
Germany
Posts |
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.
|
 |
|
abrax
Germany
Posts |
Posted - 01/14/2004 : 04:40:20 AM
|
It works (of course)! :o) Thanks very much again. |
 |
|
|
Topic  |
|
|
|