I'm using this basic code to display a plot using matplotlib. The lists for the x and y axis are large.
plt.plot(r,trajectory,"k.")
plt.title("Bifurcation diagram")
plt.xlabel("R")
plt.ylabel("Xn")
plt.show()
How can I format my plot better to view all the details?
With the above configuration what I see is
But what I want to get to is something that looks like this with each point visible (atleast high enough resolution to zoom in)
Update: I found that tuning the available parameters iteratively can yield good results. Used a combination of the answers below to understand parameters and arrive at this configuration.
f = plt.figure(figsize=(6,4),dpi=300)
plt.plot(r, trajectory, "k,", markersize=0.01, mew=0)
f.savefig("bifurcation_diag.png")
plt.title("Bifurcation diagram")
plt.xlabel("R")
plt.ylabel("Xn")
plt.show()