Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: FilledListPlot with StackGraphics

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66786] Re: [mg66765] FilledListPlot with StackGraphics
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Tue, 30 May 2006 05:48:41 -0400 (EDT)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

Needs["Graphics`"];

The extraneous fill for StackGraphics changes depending on whether the base list in FilledListPlot is implicit (FLP1) or explicit (FLP2).

DisplayTogetherArray[{{
        FLP1 = FilledListPlot[
            {{1, 1}, {2, 1}, {2, 2}, {3, 2}}],
        FLP2 = FilledListPlot[{{1,0},{3,0}},
            {{1, 1}, {2, 1}, {2, 2}, {3, 2}}]},
      {Show[StackGraphics[{FLP2,FLP1}]]}},
    ImageSize->600];

The same happens with FilledPlot and StackGraphics

DisplayTogetherArray[{{
        fp1=FilledPlot[
            1+UnitStep[x-2],{x,1,3}],
        fp2=FilledPlot[
            {0,1+UnitStep[x-2]},{x,1,3}]},
      {Show[StackGraphics[{fp2,fp1}]]}},
    ImageSize->600];

However, no problem occurs with graphic primitives or InequalityPlot

DisplayTogetherArray[{{
        sg1=Show[Graphics[{Gray,
                Rectangle[{1, 0}, {3, 1}],
                Rectangle[{2, 1}, {3, 2}]}]],
        sg2=Show[Graphics[{Gray,
                Rectangle[{1, 0}, {2, 1}],
                Rectangle[{2, 0}, {3, 2}]}]]},
      {Show[StackGraphics[{sg1,sg2}]]}},
    ImageSize->600];

ip=InequalityPlot[x<2&&y<1||x>2&&y<2, 
      {x,1,3}, {y,0,2},AspectRatio->1/GoldenRatio];

Show[StackGraphics[ip]];


Bob Hanlon

---- Seo Ho Youn <ysh7873 at hotmail.com> wrote: 
> Hi, all.
> 
>  
> 
> I am trying to use FilledListPlot with StackGraphics. The plot of
> FilledListPlot looks fine, but when I bring it to 3D with StackGraphics, it
> ``overfilled''. I know that I can use Fills-> White in order not to show
> this overfilled region. However, since I am trying to use several layers,
> this overfilled region blocks the ones behind it. Here's my simplified code.
> 
>  
> 
> <<Graphics`FilledPlot`
> 
> <<Graphics`Graphics3D`
> 
>  
> 
> FLP = FilledListPlot[{{1, 1}, {2, 1}, {2, 2}, {3, 2}}];
> 
> Show[StackGraphics[FLP]];
> 
>  
> 
> In my code, there is a step plot in FilledListPlot. However, in 3D
> (StackGraphics), there is an extra filled triangle with points (1,1), (2,1),
> and (2,2), which is not filled in FilledListPlot.
> 
>  
> 
> How can I get rid of this extra filled region?
> 
>  
> 
> Thank you for reading. Have a good day.
> 
>  
> 
> Seo Ho
> 


  • Prev by Date: Re: RE: Behavior of ReplaceAll with Computed Results from a Conditional Test
  • Next by Date: Re: Behavior of ReplaceAll with Computed Results from a Conditional Test
  • Previous by thread: RE: FilledListPlot with StackGraphics
  • Next by thread: RE: FilledListPlot with StackGraphics