Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Shading a function

Brooks_Van_Horn
New Contributor I
313 Views

I want to draw a shaded region under a curve. It is a regular region but I don't know how to define a region. The curve has some 200 points defining the area. What I'd like is to fill an area or region but I don't know how to define a region with so many points. Any ideas?

Thanks

Brooks

0 Kudos
1 Solution
andrew_4619
Honored Contributor II
313 Views
0 Kudos
2 Replies
andrew_4619
Honored Contributor II
314 Views
0 Kudos
dboggs
New Contributor I
313 Views

If it's a Quickwin project (has USE IFQWIN), then call the POLYGON or POLYGON_W function.

According to the IVF documentation, POLYGON is a Quickwin function. If you want the Windows function instead (has USE IFWIN) then you need to call the alias MSFWIN$Polygon. But I have no experience with this so can't say anything more.

 

0 Kudos
Reply