| Author |
Comment/Response |
Holger
|
01/12/12 01:27am
Hello everybody,
I have to Plot 2 2D functions in different planes of a cartesian coordinate system.
With ParametricPlot3D I was able to archive an appropriate result:
ve=-50
veo=100
d=500
P[v_]:=(6 veo)^-0.5*(v-ve+veo/2)^-0.5
vp[u_]:=ve+veo/2*(3*u^2/d^2-1)
ParametricPlot3D[{{u,vp[u],0},{u,vp[u]-ve,0},{u,ve,0},{u,0,0},{-d,v,P[v]}},{u,-d,d},{v,veo+ve,-veo/2+ve},
AxesLabel->{x,vp,""},
ImageSize -> Large,
Axes -> True,
BoxRatios->{1.5,2,1},
LabelStyle->Directive[28,FontFamily->"Arial"],
AxesEdge->{{0,0},{1,0},{0,0}},
Ticks->{{{-d,"-d"},{-250,""},0,{250,""},{d,"d"}}, {0, {ve,"ve"}, {veo,"veo"}}, None},
Boxed->True,
PlotRange->{{-d,d},{1.2*(veo+ve-ve),1.2*(-veo/2+ve)},{0,0.02}},
BoundaryStyle->Thin,
AxesStyle->{Black,Black,Black},
BoxStyle->Thick,
TicksStyle-> Thick
]
As you can see, there are two straight lines, two parabolic and a third function.
How can I change the "PlotStyle" of these functions ? I want to plot one parabole "dashed".
I thried BorderStyle but it didn't work.
Best regards
Holger
Attachment: 3D-Box.jpg, URL: , |
|