10-31-2008 10:58 AM
The attached image illustrates a problem I have been having with PlotIntensity.
Notice that the squares along the side edges seem to be half the height and
width of the squares that are not on the edges. Why is this and how can the
border squares be made the same size as the others?
The image comes from the example program in CVI81\samples\userint\intgraph.cws
and the results are the same using CVI 8.1 or 8.5. I have also noticed the same
problem in my applications.
Thanks for any help.
Marty O.
10-31-2008 12:24 PM
Hi Marty,
When you don't interpolate intensity plots, each block of a single color is centered around the corresponding unit, and extends to the midpoint of the adjoining units. But in the edges of the plot, where there are no adjoining data points, you only see a half-width block.
This will not be noticeable if you choose the interpolation option. But if you can't interpolate, the only option would be to add a couple of bogus rows of data to your array. Then you can use manual autoscaling to cut off those rows at the .5 midpoint.
Luis
10-31-2008 01:54 PM
Hi Luis,
Thanks for your response. For this application, however, I don't
think interpolation will be appropriate. I'll have to look into your
alternative.
Marty O.