MathGroup Archive 2011

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

Search the Archive

Re: Multiple Styles

  • To: mathgroup at smc.vnet.net
  • Subject: [mg120699] Re: Multiple Styles
  • From: Robert Rosenbaum <robertr at math.uh.edu>
  • Date: Wed, 3 Aug 2011 19:56:15 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201107311125.HAA05169@smc.vnet.net>

Use a nested list:
Plot[{x^2, x^3}, {x, -2, 2},
 PlotStyle -> {{Thickness[.01], RGBColor[0, 0, 1]}, {Thickness[.02],
    RGBColor[1, 0, 1]}}]



Best,
Robert

On Jul 31, 2011, at 6:25 AM, ace55555 wrote:

> I am trying to change both the thickness and color of four parametric 
curves using PlotStyle. However, I either get the thickness or the 
colors to work but not both. I tried two different lines of code at the 
end of ParametricPlot3D:
> ..,PlotStyle -> 
{{RGBColor[1,0,0]},{RGBColor[0,1,0]},{RGBColor[0,0,1]},{RGBColor[0,0,0]}},
PlotStyle -> {Thickness[0.01]}
> ..,PlotStyle -> 
{{RGBColor[1,0,0]},{RGBColor[0,1,0]},{RGBColor[0,0,1]},{RGBColor[0,0,0]},{
Thickness[0.01]}}
> It would be deeply appreciated if someone could help me on this 
matter. Thanks.
>










  • Prev by Date: Re: Ctrl+Number Shortcuts doesn't work
  • Next by Date: Re: Using colored text in PlotLabel
  • Previous by thread: Re: Multiple Styles
  • Next by thread: Re: Roots of a Jacobi polynomial