|
From: Tatsuro M. <tma...@ya...> - 2015-06-30 02:54:14
|
----- Original Message ----- > From: Tatsuro MATSUOKA > To: tmacchant3 Daniel J Sebald > Cc: gnuplot-beta > Date: 2015/6/27, Sat 14:43 > Subject: Re: speed of qt terminal > > ----- Original Message ----- > >> From: Tatsuro MATSUOKA >> To: Daniel J Sebald >> Cc: gnuplot-beta >> Date: 2015/6/27, Sat 13:04 >> Subject: Re: speed of qt terminal > >> ----- Original Message ----- >>> From: Daniel J Sebald >>> To: Tatsuro MATSUOKA >>> Cc: gnuplot-beta >>> Date: 2015/6/27, Sat 09:22 >>> Subject: Re: speed of qt terminal >>>> Daniel. >>>> Can you show me a short script at which qt terminal is rather > slow? >>>> >>>> I would like to execute it on windows and ubuntu PC. >>>> >>>> Tatsuro >>> >>> Try something like: >>> >>> cd '<buildpath>/gnuplot/demo' >>> set term qt >>> splot 'blutux.rgb' binary array=(128,128) flipy >>> format='%uchar' using 1:2:3 with rgbimage >>> >>> [rotate the image using a mouse] >>> >>> set term x11 >>> replot >>> >>> [rotate the image using a mouse] >>> >>> If you want, exit, re-launch and try >>> >>> cd '<buildpath>/gnuplot/demo' >>> set term wxt >>> splot 'blutux.rgb' binary array=(128,128) flipy >>> format='%uchar' using 1:2:3 with rgbimage >>> >>> On my system there is a very large difference in redraw speed with Qt. > >> Granted, >>> it could be the data transfer that is slow and rendering is fast, > don't >> >>> know. Also, on my system, the wxt terminal will show a bad aliasing > bug >> when >>> the image is rotated so that it is orthogonal to the window borders. >>> >>> Dan >> >> >> On windows >> >> >> Qt very slow >> wxt not slow not fast >> windows fastest >> > > > I have tested gnuplot 5.1 built using msvc complier provided Kakuto. > http://ctan.ijs.si/mirror/w32tex/w32/ > > > The difference in speed is small among three terminals. > > My qt toolkit is built on MinGW-w64 4.9.2 (both 32 or 64 bit). > The slowness of mouse operation on qt terminal with Dan's example occur when gnuplot for windows built against Qt-5.4.2. Downgrade Qt version to 5.3.2, mouse operation on qt terminal with Dan's example works without slowness. It is better to seek the origin of slowness gnuplot for windows (Mingw) + qt 5.4.2. However, I do not have knowledge and time to do so. Tatsuro |