Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4126

Re: Multiple Styles

From Bob Hanlon <hanlonr@cox.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Multiple Styles
Date 2011-08-01 10:58 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j160s2$i22$1@smc.vnet.net> (permalink)

Show all headers | View raw


Use Directive

ParametricPlot3D[
 Evaluate[Table[Tooltip[{t, Sqrt[t], t^n}], {n, 4}]],
 {t, 0, 1},
 PlotStyle -> Table[Directive[Thickness[0.01], color],
   {color, {Red, Green, Blue, Black}}]]


Bob Hanlon

---- ace55555 <yeivanye@gmail.com> 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.

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Multiple Styles Bob Hanlon <hanlonr@cox.net> - 2011-08-01 10:58 +0000

csiph-web