And if you meant 'grid', I guess
ax.grid('on')
should be added.
* Youngung Jeong, 정영웅*
On Mon, Jun 1, 2015 at 4:38 PM, Sterling Smith
wrote:
> Stephen,
>
> In your script, you give
> ax.minorticks_on
> but you need to call that function for anything to occur
> ax.minorticks_on()
>
>
> A
Stephen,
In your script, you give
ax.minorticks_on
but you need to call that function for anything to occur
ax.minorticks_on()
Also, did you see
http://matplotlib.org/examples/pylab_examples/axes_props.html
in case your original question was not answered.
-Sterling
On Jun 1, 2015, at 1:24PM,
I only see that you added "plt.show()", but neither the grid or the axis
labels are showing up.
> Here is what I see with a couple of things modified ?
> did you expect something else ?
>
> from matplotlib.backends.backend_pdf import PdfPages
> import matplotlib.pyplot as plt
> import numpy as np
Here is what I see with a couple of things modified ?
did you expect something else ?
from matplotlib.backends.backend_pdf import PdfPages
import matplotlib.pyplot as plt
import numpy as np
fig = plt.figure()
ax = fig.add_subplot(1,1,1)
x = np.linspace(0,10,50)
y = np.sin(x)
with PdfPages('grid
I am having an issue with the grid not appearing that I cannot figure out.
Can anyone help? Thanks. --StephenB
from matplotlib.backends.backend_pdf import PdfPages
import matplotlib.pyplot as plt
import numpy as np
fig = plt.figure()
ax = fig.add_subplot(1,1,1)
x = np.linspace(0,10,50)
y = np.si