DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

On a 2D graph I need to shade between 2 sets of data.

I need help on a 2D graph I need to shade between 2 sets of data.  Does anyone have any ideas?
BBANACKI
0 Kudos
Message 1 of 6
(4,054 Views)
Hello BBANACKI,

in the 2d diagrams in DIAdem REPORT, there is a curve type which is called differential. When you choose this plot type you can specify three channels (X, Y1, Y2). The diagram plots differential bars between the Y1 and Y2 values which can result in the type shading you are looking for.

regards
Ingo Schumacher
Systems Engineering Manager CEERNational Instruments Germany
0 Kudos
Message 2 of 6
(4,045 Views)
This is very close to what I need.  Is there any way I can fill in the area below one curve and above another curve on a graph.  Using the method you described fills in the area between the data points collected which in my case it is to coarse.  Attached is an example .pdf of the graph I am working with. 

Thanks.
BBANACKI
0 Kudos
Message 3 of 6
(4,030 Views)
You are right, the shading actually is done in form of a differential bar plot. Today, DIAdem does not contain a standard function to shade between curves. But I will report this request as a product suggestion to our R&D team.

In the meanwhile, you can solve the issue with a short VBS which creates channels of higher resolution. Refer to the attatched example. Unpack the files to one folder on your harddisk and start the VBS.


Ingo Schumacher
Systems Engineering Manager CEERNational Instruments Germany
0 Kudos
Message 4 of 6
(4,009 Views)

In the VBS yoy sent there is a command called ChnMapLinCalc() i there any way to do this command in a Log format instead of a Linear format.  I used the search but found nothing.  When I use this in my application the resulting data is scallopped because my graph is in Log format.

Also is there any way to make the filled area transparent so any other data will be on top?  Attached is a new PDF of the graph.

Thanks again.
 
BBANACKI
0 Kudos
Message 5 of 6
(4,003 Views)

Hi bbanacki

I believe you are currently displaying your linear data on a 2D graph using the "logarithmic" Y scaling.  If you instead calculate a new channel with the Formula Calculator that is exactly Log(x) of the old channel, and change the display from "logarithmic" back to "linear", then you will achieve the desired result.  The key is to do the linear interpolation on the logarithmic data.  There is no built-in logarithmic interpolation function in DIAdem.

Brad Turpin
DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 6 of 6
(3,961 Views)