Re: [julia-users] Re: Pyplot graphic error

2015-09-01 Thread Juan Carlos Cuevas Bautista
Hi Steve, After some test in my plots and googling. I changed my version of Gnuplot from 4.6. patchlevel 4 to gnuplot 4.6 patchlevel 6 and julia is working perfectly now. I don't know how julia and Gnuplot are related but it works. On Thursday, August 27, 2015 at 8:24:43 AM UTC-4, Juan Carlos

Re: [julia-users] Re: Pyplot graphic error

2015-09-01 Thread Steven G. Johnson
On Tuesday, September 1, 2015 at 4:55:10 PM UTC-4, Juan Carlos Cuevas Bautista wrote: > > After some test in my plots and googling. I changed my version of Gnuplot > from 4.6. patchlevel 4 to gnuplot 4.6 patchlevel 6 and julia is working > perfectly now. > I don't know how julia and Gnuplot

Re: [julia-users] Re: Pyplot graphic error

2015-08-27 Thread Steven G. Johnson
Are you using PyPlot from IJulia? It uses PNG to display the image. What happens if you savefig('foo.png') in Python?

Re: [julia-users] Re: Pyplot graphic error

2015-08-27 Thread Juan Carlos Cuevas Bautista
Hi Steve, I am not using Ijulia, I am using just the terminal. I used the command savefig(exponentialjl.pdf); to save my figure in julia. On the other hand I save the figure like png in python savefig('exponential.png') and it's working perfectly. Actually I also use octave and the plots look

[julia-users] Re: Pyplot graphic error

2015-08-26 Thread Steven G. Johnson
On Wednesday, August 26, 2015 at 2:07:44 PM UTC-4, Juan Carlos Cuevas Bautista wrote: I am plotting some data in Julia and I am using PyPlot. The issue is that the plots that I am getting are kind of messy. When I use the command plot, it gives the next error: libpng error: bad

Re: [julia-users] Re: Pyplot graphic error

2015-08-26 Thread Juan Carlos Cuevas Bautista
Hi Steven, No, it works perfectly in Python. 2015-08-26 15:07 GMT-04:00 Steven G. Johnson stevenj@gmail.com: On Wednesday, August 26, 2015 at 2:07:44 PM UTC-4, Juan Carlos Cuevas Bautista wrote: I am plotting some data in Julia and I am using PyPlot. The issue is that the plots that

Re: [julia-users] Re: Pyplot graphic error

2015-08-26 Thread Juan Carlos Cuevas Bautista
Hi Steven, Pyhton returns matplotlib.get_backend() u'Qt4Agg Julia Returns julia PyPlot.matplotlib[:get_backend]() Qt4Agg 2015-08-26 22:17 GMT-04:00 Steven G. Johnson stevenj@gmail.com: On Wednesday, August 26, 2015 at 3:50:09 PM UTC-4, Juan Carlos Cuevas Bautista wrote: Hi Steven,

Re: [julia-users] Re: Pyplot graphic error

2015-08-26 Thread Steven G. Johnson
On Wednesday, August 26, 2015 at 3:50:09 PM UTC-4, Juan Carlos Cuevas Bautista wrote: Hi Steven, No, it works perfectly in Python. Is it using a different backend in Python? What does matplotlib.get_backend() return in Python vs. PyPlot.matplotlib[:get_backend]()?