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_freeview?highlight=%28plot\-twf\-sess%29), > > 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 > > > > > _______________________________________________ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer -- Douglas N. Greve, Ph.D. MGH-NMR Center gr...@nmr.mgh.harvard.edu Phone Number: 617-724-2358 Fax: 617-726-7422 Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2 www.nmr.mgh.harvard.edu/facility/filedrop/index.html Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/ _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.