Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*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 2000

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

Search the Archive

Coloring multiple graphs differently

  • To: mathgroup at smc.vnet.net
  • Subject: [mg24369] Coloring multiple graphs differently
  • From: dgolber at aol.com (DGolber)
  • Date: Wed, 12 Jul 2000 23:13:10 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

I have several graphs:

gr1 = Show[
                      Plot[...],
                      ListPlot[...]
                 ]

gr2 = Show[
                      Plot[...],
                      ListPlot[...]
                 ]

To compare these graphs, I display them together:

   Show[gr1,gr2]

I want, in this combined display, to have gr1 and gr2 different colors.
How do I do this?  Can I do this?

So far, the definitions of gr1 and gr2 individually do not manipulate colors at
all.  I would like to do the color control only in the line

Show[gr1, gr2]

and not in the individual definitions of gr1 and gr2.

In general, I think the Mathematica documentation in this area is very
deficient.  Suppose I ask, for a given graphics function, "what are all the
options of this function and what are all the possible values of this function,
and what do they do?"  Seems like reasonable request, but there is no attempt
to answer this in any of the documentation I have seen, either on-line or the
4-inch thick book.

Options[Show] just returns {}

Dave Golber



  • Prev by Date: fade to mauve
  • Next by Date: List of patterns for which a function is defined?
  • Previous by thread: Re: fade to mauve
  • Next by thread: Re: Coloring multiple graphs differently