octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #38666] gnuplot and imagesc prints garbled ima


From: Rik
Subject: [Octave-bug-tracker] [bug #38666] gnuplot and imagesc prints garbled image for certain matrix sizes for sufficently large colormap size
Date: Wed, 16 Nov 2016 19:50:59 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #5, bug #38666 (project octave):

I'm not sure there is any good solution, other than jettisoning gnuplot.

When the size of the data transferred is larger than the max size of the SW
pipe used for communication between Octave and gnuplot then there are
problems.  See /proc/sys/fs/pipe-max-size for the maximum size in the current
kernel.  At least in Linux, a particular pipe can be resized, on the fly,
with


fcntl(fd, F_SETPIPE_SZ, size)


as long as the size does not exceed pipe-max-size.

I suppose there might be a way to recode __gnuplot_draw_now__ to send data
over in chunks.  But will gnuplot on the other side understand when it has
only received partial input and needs to wait?



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38666>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]