SiegeLord / RustGnuplot

A Rust library for drawing plots, powered by Gnuplot.
GNU Lesser General Public License v3.0
410 stars 45 forks source link

error happend `Gnuplot Version 5.4` on windows #73

Open chatblanc-ciel opened 2 years ago

chatblanc-ciel commented 2 years ago

Error message is

gnuplot> t output "mnd_density.png"
         ^
         line 0: invalid command

           line 0: warning: Couldn't slurp 8000000 bytes (return was 2194576)

multiplot> splot "-" binary endian=little array=(1000,1000) format="%float64" origin=(-5.000000000000e0,-5.000000000000e0,0) dx=1.001001001001e-2 dy=1.001001001001e-2  with pm3d t ""
                                                                                                                                                                                      ^
           line 0: All points x value undefined
 ���w>��53�'`�'IDATx��
0       �
@� �`�H0$`
0       �
@� �`�H0$`
0       �
@� �`�H0$`
0       �
@� �`�H0$`
0       �
<continue with similar charactors>

Please help me.

SiegeLord commented 2 years ago

Does it work with a smaller dataset?

chatblanc-ciel commented 2 years ago

No. I tried Quadratic function with [-5:5] split 100 but it does not work. And the same codes(all I have) is working on Gnuplot Version 5.2.

Additional information, my pc are based on Windows 11.