[SciPy-user] gnuplot not output image

guillem at torroja.dmt.upm.es guillem at torroja.dmt.upm.es
Wed Aug 3 21:13:03 EDT 2005



> gplt.plot(path, Hz)
> gplt.output("hz.png", 'png color')
> gplt.title('Campo H em Bobina Helicoidal Espessa')
> gplt.xtitle('Distancia x(cm)')
> gplt.ytitle('Hz (Gauss)')
> gplt.legend()
>

try

gplt.plot(path, Hz)
gplt.xtitle(----)
gplt.ytitle(----)
gplt.legend()
gplt.output('hz.png','png')

I am using kubuntu and this works for me

png terminal is colored so there's no need to use png color, and png color
has never worked fine in my computer

you must call the output function at the end because gnuplot doesn't
refresh the png automatically.

Cheers

__________________________________
Guillem Borrell Nogueras

guillem_at_torroja.dmt.upm.es
guillemborrell_at_gmail.com

http://torroja.dmt.upm.es/~guillem/




More information about the SciPy-User mailing list