취소
다음에 대한 결과 표시 
다음에 대한 검색 
다음을 의미합니까? 

Possible bug in Intensity Graph while using interpolate colors on a Log scale (LV2013)

Hi,

 

When attempting to plot data on an Intensity Graph, using a log scale (in particular in the range 1E-9 to 1), with defined color markers, and interpolate colors option 'off' the data plots exactly as expected.

 

However, when you turn the interpolate colors option 'on' the graph displays the correctly interpolated colors on the ramp, but NOT does not map the data to these colors correctly.  It seems to map the first few layers correctly, but not the entire plot, As shown in this image.  The color ramp displays the interpolated colors correctly, but the actual data is not mapped to this correctly.

 

ColorInterpolation.jpg

 

After playing around with various properties of the Intensity Graph, it appears that if you switch on the interpolate colors, and then turn on the "ignore color array" property, it then shows a correct color scale (at least one that matches the now plotted data)

 

I cannot find any reason why this is happening and think it is a bug with the control.  I've also submitted this to service request as a bug, but also wanted to submit it here to see if anyone out there had any thoughts on this...

 

I've found a work around of basically generating the 'log' data and color scale values before sending it to the control, and then plotting the data on a linear scale.

 

I have attached a small VI which shows an example of this behavior.

1/11 메시지
5,357 조회수

I agree that this is probably a bug.  There are several other problems with standard graphs and log mapping, so this does not surprise me.

 

Lynn

0 포인트
2/11 메시지
5,343 조회수

I cannot find the post, but I complained about that in very ancient forum times. When the z axis is logarithmic, the color scale needs to be linear in the log of the values. You should simply use the method on the right.

 

The same happens also with e.g. the scale of meters (see picture). In a better world, the scale should look the same for both!

 

 

0 포인트
3/11 메시지
5,317 조회수

What was your service request number? I can check on the Status of that CAR for you.

 

Rob B
FlexRIO Product Manager
0 포인트
4/11 메시지
5,267 조회수

unfortunately, they didmt provide me with a CAR number....though they did say that they created one...

 

also Im not understanding the solution/work around suggested by altenbach.  do you have an example of what you mean?

 

 

0 포인트
5/11 메시지
5,237 조회수

jyoung8711 wrote:

also Im not understanding the solution/work around suggested by altenbach.  do you have an example of what you mean?


I meant you should use your code version that works (labeled "expected graph behavior").

0 포인트
6/11 메시지
5,229 조회수

@altenbach wrote:

jyoung8711 wrote:

also Im not understanding the solution/work around suggested by altenbach.  do you have an example of what you mean?


I meant you should use your code version that works (labeled "expected graph behavior").


ah. gotcha! a bit inconvenient/annoying but certainly better than nothing.

 

thanks!

0 포인트
7/11 메시지
5,223 조회수

Hi jyoung8711,

 

I just sent you an email about the CAR I created, but thought I would post the CAR number here for everybody else who has similar issues. The CAR number is: 453407.

Kevin S
Applications Engineer
National Instruments
8/11 메시지
5,183 조회수

I just ran into an issue that is similar to this. This has not been fixed right? I can also reproduce this with linear plots. For example, if you change the map mode from 1 (log) to a 0 (linear) in jyoung8711's example, it still doesn't show green or blue.

0 포인트
9/11 메시지
1,440 조회수

@nanocyte wrote:

I just ran into an issue that is similar to this. This has not been fixed right? I can also reproduce this with linear plots. For example, if you change the map mode from 1 (log) to a 0 (linear) in jyoung8711's example, it still doesn't show green or blue.


Probably it hasn't been fixed because of backwards compatibility issues.  By that, I mean everyone who used a workaround would find all their controls looking funny if they ever upgraded.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 포인트
10/11 메시지
1,430 조회수