Hi,
I'm havind difficulty plotting saving pylab images in pdf format. At the
moment, they are saved as .png files by default using:
savefig('name',dpi=300)
However, if I try:
savefig('name.pdf')
The program crashes. Is there anyway of solving this problem?
Regards,
Jony--
Hi,
I wanted to plot a graph with a grid background and an x axis ranging from
0 -16 and a y axis ranging from 0 -16. I used the following code:
from pylab import*
xlabel('time (s)')
ylabel('voltage (mV)')
title('About as simple as it gets, folks')
grid(True)
axis([-16,16,-16,16])
show()
How