3
$\begingroup$

I have this code

 ParametricPlot3D[{(Sin[t]/30), (Cos[t]/30), 0}, {t, 0, (2 π)}, 
   PlotRange -> Automatic]

the output (below) shows that the options Automatic is not adjusting the z axis to better visualize the circle. How can I solve this? The same thing happens when I put PlotRange -> All or PlotRange -> Full. I am doing a list with thousands of tinny plots around the origin, so manual setting the PlotRange is not an option to me.

enter image description here

$\endgroup$
  • $\begingroup$ You should look at the BoxRatios option. $\endgroup$ – m_goldberg Apr 17 '17 at 15:36
2
$\begingroup$

Is this closer to what you want?

ParametricPlot3D[{(Sin[t]/30), (Cos[t]/30), 0}, {t, 0, (2 π)}, 
  PlotRange -> {Automatic, Automatic, {-.05, .05}},
  BoxRatios -> {1, 1, 0.1}]

plot

$\endgroup$
  • $\begingroup$ BoxRatios -> {1, 1, 0.1} alone would work too, you don't really need to set PlotRange, right? $\endgroup$ – BlacKow Apr 17 '17 at 17:34
  • $\begingroup$ Thank you Blackow! BoxRatios solve the problem. $\endgroup$ – Murilo Rodolfo Apr 17 '17 at 19:16
  • $\begingroup$ @BlacKow. The reason for adding the PlotRange option is to get readable labels on the z-axis. $\endgroup$ – m_goldberg Apr 19 '17 at 0:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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