LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

plotintensity half-size border squares

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.

0 Kudos
Message 1 of 3
(2,997 Views)

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

0 Kudos
Message 2 of 3
(2,986 Views)

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.

0 Kudos
Message 3 of 3
(2,979 Views)