1
$\begingroup$
ParametricPlot[{θ*180/π, Cos[θ]}, {θ, 0,π},    
  Ticks -> {{0, 45, 90, 135, 180}, Automatic}, 
  AxesOrigin -> {90, 0}, PlotStyle -> Red, ImageSize -> 1200, 
  LabelStyle -> Directive[Bold, FontFamily -> "Arial", FontSize -> 25],
  PlotRange -> {{0, 180}, {-1, 1}}, AspectRatio -> 1/2]

When I use Ticks and Frame together, the Ticks do not appear at the positions specified:

ParametricPlot[{θ*180/π, Cos[θ]}, {θ, 0, π},  
  Ticks -> {{0, 45, 90, 135, 180}, Automatic}, 
  AxesOrigin -> {90, 0}, PlotStyle -> Red, ImageSize -> 1200, 
  LabelStyle -> Directive[Bold, FontFamily -> "Arial", FontSize -> 25],
  PlotRange -> {{0, 180}, {-1, 1}}, AspectRatio -> 1/2, Frame -> True]  
$\endgroup$
1
  • 1
    $\begingroup$ Of course, they don't. Ticks only applies to axes, not frames. You want to use FrameTicks, instead. $\endgroup$
    – rcollyer
    Apr 29, 2015 at 13:57

1 Answer 1

2
$\begingroup$

Use FrameTicks when using frames.

ParametricPlot[{θ*180/π, Cos[θ]}, {θ, 0, π},
  FrameTicks -> {{0, 45, 90, 135, 180}, Automatic}, 
  AxesOrigin -> {90, 0}, PlotStyle -> Red, ImageSize -> 600, 
  LabelStyle -> Directive[Bold, FontFamily -> "Arial", FontSize -> 25],
  PlotRange -> {{0, 180}, {-1, 1}}, AspectRatio -> 1/2, Frame -> True]
$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.