Re: L-shaped ListContourPlot
- To: mathgroup at smc.vnet.net
- Subject: [mg97188] Re: L-shaped ListContourPlot
- From: ADL <alberto.dilullo at tiscali.it>
- Date: Sat, 7 Mar 2009 02:41:08 -0500 (EST)
- References: <goqpdt$lri$1@smc.vnet.net> <goqugi$ngc$1@smc.vnet.net>
I found another problem: RegionFunction does not appear to work properly in version 7.0.0 (I did not checked version 7.0.1). Just compare the following plots: p1=ListContourPlot[ data, RegionFunction -> Function[{x, y, z}, (y < 5) || (x < 2) || (x > 15)], BoundaryStyle -> Black ] p2=ListContourPlot[ {{0, 0, 0}, {20, 0, 1}, {20, 10, 2}, {0, 10, 3}}, RegionFunction -> Function[{x, y, z}, (y < 5) || (x < 2) || (x > 15)], BoundaryStyle -> Black ] p3=RegionPlot[(y < 5) || (x < 2) || (x > 15), {x, 0, 20}, {y, 0, 10}] Both p1 and p2 do not show the correct region shown in p3. Moreover, different shapes appear depending on the inequalities and on the data, in a rather unpredictable way (at least to me). $Version == 7.0 for Microsoft Windows (32-bit) (November 10, 2008) ADL