CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[PyFoam] GNUPLOT Doesn't Zoom With pyFoamPlotWatcher

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 3, 2017, 10:26
Default GNUPLOT Doesn't Zoom With pyFoamPlotWatcher
  #1
Member
 
Matt Ridzon
Join Date: Jun 2014
Posts: 91
Rep Power: 11
m_ridzon is on a distinguished road
I recently got pyFoamPlotWatcher working. When I am viewing the plots of residuals, gnuplot zoom functions with the mouse wheel don't seem to work. When I try to zoom with the mouse wheel, I get warning outputs in the terminal window as such:
Code:
line 0: warning: Skipping unreadable file "/tmp/tmpdcyvzy_t.gnuplot/fifo"
         line 0: warning: Skipping unreadable file "/tmp/tmplgy7lkmd.gnuplot/fifo"
         line 0: No data in plot
or I may also see this:
Code:
line 0: undefined variable: inf
Zoom functions in gnuplot work fine otherwise, when plotting other stuff outside of pyFoamPlotWatcher. So I don't think it's an issue with gnuplot.

Note that I'm using OpenFoam 2.4.0, on OpenSuse 13.2, Gnome 3.14.1.

Does anybody know why this is not working properly?

Thanks in advance,
M Ridzon
m_ridzon is offline   Reply With Quote

Old   July 3, 2017, 19:23
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by m_ridzon View Post
I recently got pyFoamPlotWatcher working. When I am viewing the plots of residuals, gnuplot zoom functions with the mouse wheel don't seem to work. When I try to zoom with the mouse wheel, I get warning outputs in the terminal window as such:
Code:
line 0: warning: Skipping unreadable file "/tmp/tmpdcyvzy_t.gnuplot/fifo"
         line 0: warning: Skipping unreadable file "/tmp/tmplgy7lkmd.gnuplot/fifo"
         line 0: No data in plot
or I may also see this:
Code:
line 0: undefined variable: inf
Zoom functions in gnuplot work fine otherwise, when plotting other stuff outside of pyFoamPlotWatcher. So I don't think it's an issue with gnuplot.

Note that I'm using OpenFoam 2.4.0, on OpenSuse 13.2, Gnome 3.14.1.

Does anybody know why this is not working properly?

Thanks in advance,
M Ridzon
PyFoam uses a third-party library that controls a Gnuplot process. To allow continuous updates of the graphs it has to manipulate the event loop. This probably breaks some of the interactive features of Gnuplot
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   July 4, 2017, 09:12
Default
  #3
Member
 
Matt Ridzon
Join Date: Jun 2014
Posts: 91
Rep Power: 11
m_ridzon is on a distinguished road
Quote:
Originally Posted by gschaider View Post
PyFoam uses a third-party library that controls a Gnuplot process. To allow continuous updates of the graphs it has to manipulate the event loop. This probably breaks some of the interactive features of Gnuplot
Hmm, that's unfortunate. I guess it is what it is though. Thanks for the feedback.

M Ridzon
m_ridzon is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Plotting Velocity Probe File with gnuplot McCharles OpenFOAM Post-Processing 9 November 18, 2019 07:44
Alternative to pyFoamPlotWatcher? m_ridzon OpenFOAM 3 July 8, 2017 08:05
Setting the desired Zoom level in ANSYS CFD Post for custom reports shreyasr CFX 1 July 11, 2013 01:57
Help with GNUPlot Renato. Main CFD Forum 6 June 6, 2007 19:51
zoom visualize TOM CFX 5 August 9, 2001 04:27


All times are GMT -4. The time now is 13:13.