Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: RE:Need Help: Can not use Ticks under PolarPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg71422] Re: [mg71397] RE:Need Help: Can not use Ticks under PolarPlot
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Fri, 17 Nov 2006 04:31:04 -0500 (EST)
  • Reply-to: hanlonr at cox.net

You are drawing unit circles. All of the ticks that you asked for are outside of the default PlotRange. You would need to extend the PlotRange.

Needs["Graphics`"];

ShowLegend[DisplayTogether[
      PolarPlot[Sin[x],{x,-Pi/2,Pi/2},
        PlotStyle->Hue[0.6]],
      PolarPlot[Cos[x],{x,Pi/2,3 Pi/2},
        PlotStyle->Hue[0.8]],
      Ticks->{PiScale,Automatic},PlotRange->{{-Pi/2,3Pi/2},Automatic},
      ImageSize->400,
      DisplayFunction->Identity],
    {{{Hue[0.6],"Sin(x)"},{Hue[0.8],"Cos(x)"}},
      LegendPosition->{.2,.01},
      LegendSize->{.5,.2}}];


Bob Hanlon

---- abdou.oumaima at hotmail.com wrote: 
> First of All, I want to thank Mr Jean Marc Guillet and Mr Bob Hanlon for their help in my last post. 
> Now I need to perfom my graphic presentation by using Ticks under PolarPlot as follow:
> 
> Needs["Graphics`"];
> 
> ShowLegend[DisplayTogether[PolarPlot[Sin[x], {x, -Pi/2, Pi/2}, PlotStyle -> 
>       Hue[0.6]], PolarPlot[Cos[x], {x, Pi/2, 3 Pi/2}, PlotStyle -> Hue[0.8]], 
>         Ticks -> {{-Pi/2, 0, Pi/2, Pi, 3 Pi/2}, Automatic}, DisplayFunction -> Identity], {{{ Hue[0.6], "Sin(x)"}, {Hue[0.8], "Cos(x)"}}, LegendPosition -> {1.1, .2}, LegendSize -> {.8, .4}}];
> 
> 
> I need seeing in x Axe -Pi/2, 0, Pi/2, Pi, 3P/2. Please how can I achieve this?!
> 
> 
> Any suggestions will be very welcommmmmmmmmmmm.
> Cheers.
> 
> Link to the forum page for this post:
> http://www.mathematica-users.org/webMathematica/wiki/wiki.jsp?pageName=Special:Forum_ViewTopic&pid=15338#p15338
> Posted through http://www.mathematica-users.org [[postId=15338]]
> 


  • Prev by Date: RE: mouse drage listener!
  • Next by Date: NIntegrate
  • Previous by thread: RE:Need Help: Can not use Ticks under PolarPlot
  • Next by thread: RE: RE:Need Help: Can not use Ticks under PolarPlot