07-07-2005 03:38 PM
07-07-2005 06:47 PM
07-08-2005 09:38 AM
No, on the intensity graph property node 'plot area size' setting the plot area dimensions does not give you a proportional image (i.e, you physically see that the Y dimension is twice the size of the X dimension). In fact, I see this method as giving you nothing different than than autoscaling. See attached. By the end of today I should be able to figure out where I have my subVI that does give one the correct, proportional representation.
I'll admit, I have underutilized the picture control over the years because the intensity graph has nice cursor palette features.
Don
07-08-2005 10:29 AM
@DonRoth wrote:
No, on the intensity graph property node 'plot area size' setting the plot area dimensions does not give you a proportional image (i.e, you physically see that the Y dimension is twice the size of the X dimension). In fact, I see this method as giving you nothing different than than autoscaling. See attached.
This statement is incorrect. The plot area size property does exactly what you need. Open a few 24bit jpegs of various sizes with the attached VI to see for yourself (LabVIEW 7.0).
(Note that "loose fit" is disabled on x and y and z is set to autoscale. I did not bother to set the color ramp.)
07-08-2005 11:39 AM
07-08-2005 01:05 PM
07-08-2005 01:53 PM
07-08-2005 01:54 PM
07-08-2005 02:52 PM
This seems rather incomplete, because it makes assumptions on the plot are size of the intensity graph. If one would resize the graph, you're distorted again. 😞
OK, so you don't want to resize the actual plot (as I first thought), but keep the intensity graph constant while settings the scales such that you get the right increment and aspect ratio, padding or clipping the visible portion as needed.
If you want a 1:1 element/pixel ratio in both dimensions, you would need two property nodes in your subVI. First, you need to read the plot area size, then calculate the scales such that you get the right visible apperance. Notice also that you have your intensity graph set to "transpose" (and I don't). This might also explain some of the different behavior.
07-09-2005 09:17 AM