MathGroup Archive 2002

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

Search the Archive


  • To: mathgroup at
  • Subject: [mg34986] Colors
  • From: "Juan Erfá" <erfa11 at>
  • Date: Tue, 18 Jun 2002 02:48:25 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Hi,I have the function ReY to reflect a curve about the Y axe:

In[4]:= ReY[f_, {x_, x1_, x2_}] := Module[{p, q},
    p = Plot[f, {x, x1, x2}, DisplayFunction -> Identity];
    q = p /. {u_, v_} -> {-u, v};
    Show[p, q, DisplayFunction -> $DisplayFunction]]

For ReY[Sin[t],{t,0,4}], I get both functions in black.

I would like to use Hue[] to paint the curves in different colors, but after 
tryng to put Hue[] everywhere I get nothing.

Another question is: What I have to do to allow ReY to work with more than 
one function, I mean: ReY[{Sin[t], t^3, Cos[t], ...},{t, 0,4}].

Finally: How I can paint the axes in other color then black?.


MSN Photos es la manera más sencilla de compartir e imprimir sus fotos:

  • Prev by Date: Re: calculating the azimuth between two lat/lon's
  • Next by Date: RE: How to compute a MatrixPower using: A^n = P D^n Inverse[P]
  • Previous by thread: some of the numbers in a list = a total
  • Next by thread: Re: Colors