MathGroup Archive 2007

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

Search the Archive

Re: Background Option in LocatorPane

A bug?  The same sort of problem occurs with:

      LocatorPane[{0, 0}, Graphics[Disk[]], Background -> c],
      {c, {Pink, Green, Yellow}}]

On the other hand, iterating over a list of colors does work, e.g., in

   Manipulate[Graphics[{c, Disk[{0, 0}, 1]}], {c, {Pink, Green, Yellow}}]

as well as in:

     Graphics[Disk[], Background -> c], {c, {Pink, Green, Yellow}}]

David Park wrote:
> In the following example from LocatorPane:
> Table[
>  LocatorPane[{0, 0},
>   Graphics[{Gray, Disk[]}],
>   Background -> c,
>   ImageSize -> 100],
>  {c, {Pink, Green, Yellow}}]
> why does the background color disappear as soon as one scrolls the cell off 
> screen and back, or indeed as soon as one puts the pointer into one of the 
> LocatorPanes?

Murray Eisenberg                     murray at
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305

  • Prev by Date: Re: Background Option in LocatorPane
  • Next by Date: Re: newlines, newlines ...
  • Previous by thread: Background Option in LocatorPane
  • Next by thread: Re: Background Option in LocatorPane