You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to fix the y axis scale on Bar plot template, but that doesnt seem to be so easy.
Something like
p <- p + scale_y_continuous(limits=c(0,8000))
print(p) # or last_plot() + ylim(0,1000)
is possible but if the limits are smaller of what is plotted then that bar or error bar is not plotted at all.
E.g. plotting bars that vary between 95% and 105% doesnt look nice because the ggplot2 auto scale is set to 0 - ~110, whereas a scale of 90 - 110 would be much better to show difference in this smaller range.
I tried several things, went to forums and gglot2 descriptions, and found that others had same difficulties to manipulate the axes, and somehow I couldnt establish a way to handle flexible/manual axis scale for the Bar plot template. I think for factorized density plot and others it is a similar problem!?
(Martin)
The text was updated successfully, but these errors were encountered:
I would like to fix the y axis scale on Bar plot template, but that doesnt seem to be so easy.
Something like
p <- p + scale_y_continuous(limits=c(0,8000))
print(p) # or last_plot() + ylim(0,1000)
is possible but if the limits are smaller of what is plotted then that bar or error bar is not plotted at all.
E.g. plotting bars that vary between 95% and 105% doesnt look nice because the ggplot2 auto scale is set to 0 - ~110, whereas a scale of 90 - 110 would be much better to show difference in this smaller range.
I tried several things, went to forums and gglot2 descriptions, and found that others had same difficulties to manipulate the axes, and somehow I couldnt establish a way to handle flexible/manual axis scale for the Bar plot template. I think for factorized density plot and others it is a similar problem!?
(Martin)
The text was updated successfully, but these errors were encountered: