Create an image from a not scaled matrix wave
giovanniepfl
Goodrmoning,
I want to plot a 2D image where the colour of each pixel represents the value of a 2D matrix. After reading from the manual, I created the X and Y wave used for defining the pixel height and width. In particular I have a 501X199 matrix, so a created a 200 elements X wave and a 502 elements Y wave ( I add one element in both wave since I read this from the manual). When I created the image from Windows->New->Image Plot, I specified the 2D matrix and also the X and Y wave that I have created. However the result that I got is not properly. Could you help me? I'm using Igor 6.37 on W7.
I thank you in advance,
best regards
Giovanni
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
December 9, 2015 at 09:02 am - Permalink
I thank you in advance,
kind regards
Giovanni
December 10, 2015 at 12:30 am - Permalink
You can use wave scaling for the B values, since they are evenly spaced.
For debugging purposes, what does a plain
look like?
But to really help you, it would be best to get an experiment from you containing only V34_2, B, and Vwi.
To solve the second problem use swap X & Y axes in the Modify Graph dialog.
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
December 10, 2015 at 10:40 am - Permalink
I thank you in advance,
best regards
Giovanni
December 11, 2015 at 12:41 am - Permalink
The error message gives you a hint. The last two values in Vwi are equal and the wave does't monotonically increase. Setting VWI[501] = 1 or so should help to generate the plot.
December 11, 2015 at 01:50 am - Permalink
Best regards
Giovanni
December 14, 2015 at 04:16 am - Permalink