|
From: Daniel J S. <dan...@ie...> - 2010-08-08 03:24:24
|
Ethan Merritt wrote: > Could this be related to Bug #3041233 "plot '-' with binary : gnuplot for windows"? > > https://sourceforge.net/tracker/?func=detail&aid=2981027&group_id=2055&atid=102055 Sounds very similar. However, I'm not able to build anything on a Windows machine. Petr's observation suggests that when the size of the data is specified (%float64) it all works, but when the default size is used the data isn't correct. Could it be that Windows handles the default integer size differently than on other systems (i.e., the sizeof() macro works slightly different)? Just a guess. Dan > > On Friday 06 August 2010, Daniel J Sebald wrote: > >>Yves, >> >>That feature may already exist. Look very closely at the demos for images >> >>http://gnuplot.sourceforge.net/demo_cvs/image2.html >> >>for the example titled >> >>"Binary data specified at the command line, intended for use through pipe" >> >>(Look for the file in the CVS build if the binary characters don't come through properly). >> >>Maybe that will work for you. >> >>Dan >> >> >>yves2010 wrote: >> >>>Hi >>> >>>I am successfully using Gnuplot as a rendering engine in my application, to >>>display cross-sections of data images, using Windows piping and the special >>>'-' filename to plot inline data. However, I have to convert my data to >>>ASCII and Gnuplot has to convert from ASCII, which takes sufficient time to >>>slow down the reactivity of the cross-section plotting when the user moves >>>the mouse over the image. >>> >>>Could it be possible to have en extension of the syntax, something like >>> >>>plot '-' binary size=<#bytes> >>> >>>so that #bytes bytes of binary data can be sent inline? >>> >>>Thanks in advance >>> >>>Yves >> >> >> > > -- Dan Sebald email: daniel(DOT)sebald(AT)ieee(DOT)org URL: http://www(DOT)dansebald(DOT)com |