I am using the following code to generate boxplots, provided with log y-axis, however, want the values on y-axis as 0.1, 1, 10, 100 etc. But I get plot with 0.1, 1, 10, 100 values overlapped with 5e-0110, 5e+01 and 5e+02 values. Could someone help me to overcome this issue?

> log_tick_positions numeric_tick_positions boxplot(Data_Boxplot, log = "y", ylab = "",

+ col = c("blue", "red", "orange", "green", "purple", "brown", "pink", "gray", "cyan", "yellow"),

+ border = "black", horizontal = FALSE, notch = TRUE, names = FALSE)

> formatted_labels axis(2, at = log10(numeric_tick_positions), labels = formatted_labels)

> mtext("Concentration mg/L (Logarithmic Scale)", side = 2, line = 2.5)

> axis(1, at = 1:length(parameter_names), labels = parameter_names, las = 2)

More Waqar Azeem Jadoon's questions See All
Similar questions and discussions