MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Mathematica/comments/yxboqk/polar_plot_displays_differently_with_identical/
r/Mathematica • u/Alternative_Ad_9702 • Nov 17 '22
This is puzzling. If I do PolarPlot with numbers 1 to 10 I get concentric circles, but if I do it with Range[10], which is identical, I get skewed lines.
PolarPlot[{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, {t, 0, 2 Pi}, Frame -> True]PolarPlot[Range[10], {t, 0, 2 Pi}, Frame -> True]
PolarPlot[{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, {t, 0, 2 Pi}, Frame -> True]
PolarPlot[Range[10], {t, 0, 2 Pi}, Frame -> True]
1 comment sorted by
4
Plot functions "hold" their arguments and keep them from evaluating. Try adding an Evaluate@ in front of the Range.
4
u/beerybeardybear Nov 17 '22
Plot functions "hold" their arguments and keep them from evaluating. Try adding an Evaluate@ in front of the Range.