X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 02 Nov 2012 07:34 AM by  anon
Different colors FILL_BACKGROUND in plot-function
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:20
New Member


--
02 Nov 2012 07:34 AM
    Hi All, Is there a way, using the current plot-function, to apply multiple colors for the FILL_BACKGROUND option? For instance, let's say I want to fill the area under curve, bigger than zero, with red and the area under curve, smaller than zero, with blue. How would i do that, without having to break up my data and make two separate overlapping plots? Thanks! Wouter

    Deleted User



    New Member


    Posts:
    New Member


    --
    05 Nov 2012 03:32 PM
    Hi Wouter Well, some of the following came to mind: POLYFILL POLYGON POLYLINE The problem with POLYFILL is that is a direct graphic routine, not a new graphic one. POLYGON and POLYLINE you should be able to use it in the new graphic system. The idea is then to fill the polygon with one color depending the x range or y range. Here I found also that it was done in direct graphic as well: http://www.idlcoyote.com/...s_tips/fillarea.html Cheers, Fernando
    You are not authorized to post a reply.