I’m doing some error analysis and it would be handy if I could display errors with both axes scaled logarithmically in multiple separate plot windows. See, I have four vectors (
diffc4) containing errors that I’d like to plot in separate windows with each plot window having logarithmically scaled axes. I know how to do this if only the y-axis has a logarithmic scale, namely using:
using PyPlot PyPlot.figure(1) # nc has my x-axis values PyPlot.semilogy(nc, diffc1) PyPlot.figure(2) PyPlot.semilogy(nc, diffc2) PyPlot.figure(3) PyPlot.semilogy(nc, diffc3) PyPlot.figure(4) PyPlot.semilogy(nc, diffc4)
and I know how to scale both axes logarithmically and produce just one plot window at a time, namely using:
using Plots plot(nc, diffc1, xaxis=:log, yaxis=:log)
but I don’t know how to produce multiple plots at a time with both axes scaled logarithmically. I’ve looked for an equivalent option for Plots to PyPlot’s
figure(), but I cannot find one.