Hi all,
I am trying to use plot-twf-sess to create the motion plots as specified in the FsFast Tutorial, but I keep getting the error of "cannot find display." The command was copy-pasted from the FsFast tutorial (https://surfer.nmr.mgh.harvard.edu/fswiki/FsFastTutorialV5.1/FsFastPreProc_f...), and Gnuplot works on this computer (CentOS 6.8; GNOME 2.28.2) with the default terminal type set to "wxt". I've looked at the plot-twf-sess code in an attempt to troubleshoot but do not entirely understand what "display" means here where this error is generated:
which display > /dev/null if($status) then echo "ERROR: cannot find display" exit 1; endif
I've searched the archives but it seems that no one has encountered this problem yet (or at least written about it), so I can't tell if I'm just missing something glaringly obvious. Thank you for your time and please let me know if any further information is needed to solve this!
Thanks again,
Wenting Xie
Clinical Research Coordinator
MGH Neurology | Boston, MA
display is an imagemagick program. It is used to display the images created by gnuplot. If you have xv installed, you can add -xv to the command line. Otherwise, install imagemagick
https://www.imagemagick.org/script/index.php
On 04/19/2017 04:03 PM, Xie, Wenting wrote:
Hi all,
I am trying to use plot-twf-sess to create the motion plots as specified in the FsFast Tutorial, but I keep getting the error of "cannot find display." The command was copy-pasted from the FsFast tutorial (https://surfer.nmr.mgh.harvard.edu/fswiki/FsFastTutorialV5.1/FsFastPreProc_f...), and Gnuplot works on this computer (CentOS 6.8; GNOME 2.28.2) with the default terminal type set to "wxt". I've looked at the plot-twf-sess code in an attempt to troubleshoot but do not entirely understand what "display" means here where this error is generated:
which display > /dev/null if($status) then echo "ERROR: cannot find display" exit 1; endifI've searched the archives but it seems that no one has encountered this problem yet (or at least written about it), so I can't tell if I'm just missing something glaringly obvious. Thank you for your time and please let me know if any further information is needed to solve this!
Thanks again,
Wenting Xie
Clinical Research Coordinator
MGH Neurology | Boston, MA
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu