MathGroup Archive 2012

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

Search the Archive

How can I plot line with a color gradient instead of a solid color?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg127155] How can I plot line with a color gradient instead of a solid color?
  • From: MoEgypt <muhammad.abuzaid at gmail.com>
  • Date: Mon, 2 Jul 2012 22:18:25 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

How can I change the 'RED' color below to a gradient instead? (a RedBlue gradient for example)

------------------------
LayeredGraphPlot[{1 -> 2, 1 -> 3}, 
 EdgeRenderingFunction -> ({Red, Arrow[#1, 0.1]} &)]
------------------------



  • Prev by Date: Re: Varying a constant in an ODE to Manipulate solution
  • Next by Date: Re: Evaluate code fragment without making new cell for it?
  • Previous by thread: Re: multiplying, element wise, a row by each column of a matrix.
  • Next by thread: retina display