MathGroup Archive 2002

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

Search the Archive

Colors

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

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?.

Regards.Juan



_________________________________________________________________
MSN Photos es la manera más sencilla de compartir e imprimir sus fotos: 
http://photos.msn.com/support/worldwide.aspx



  • 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