DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

fill areas between two curves

Hi all,

 

I've got a problem with programming reports with diadem and I don't know how to solve the problem.

 

Current situation:

 

I plot 2 lines in a diagram (value table as channels). Now I want to fill the area between these lines. To give a better decription I added a picture in the attachments.

 

How can I program this with diadem script ?

 

It would be nice, if somebody could help with this problem.

 

Thanks a lot.

 

Cheers EmBee

0 Kudos
Message 1 of 4
(6,662 Views)

Hi EmBee,

 

It isn't possible to fill the areas between two curves in DIAdem, neither in Report (manually) nor programmatically in Script.

 

Nevertheless I wish you a happy new year.

 

Best Regards,

Cem

0 Kudos
Message 2 of 4
(6,491 Views)

Embee

 

Please take a look at the attached tdr and Tdm files.  They perform something like what  I believe you want.

 

These can also be made to setup from a script.   To get the commands. Get in Report object editing mode( Select report object and then right click and select display)    then press shift/control/c to capture all the commands that build the report object.

 

 

Paul

 

 

 

0 Kudos
Message 3 of 4
(6,462 Views)

Hi embee,

 

DIAdem REPORT does have the ability to fill the area between two curves, but it does so by defining the upper boundary of the area with curve1 and the lower boundary of the area with curve2.  It looks from your picture like you're hoping to define the left and right boundaries of the area with curve1 and curve2.  If you can rewrite those curves to each share the same X range, then we can fill the vertical area between your two curves with the native curve type "Filled area" in DIAdem REPORT.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 4 of 4
(6,190 Views)