diff --git a/lib/Core/Plot.cpp b/lib/Core/Plot.cpp index fd695f7..d7b44fa 100644 --- a/lib/Core/Plot.cpp +++ b/lib/Core/Plot.cpp @@ -663,10 +663,6 @@ void Plot::display(void) string command; ostringstream scriptBuf; - if (!getenv("DISPLAY")) - { - LATAN_ERROR(System, "cannot find DISPLAY variable: is it set ?"); - } getProgramPath(); command = gnuplotPath_ + "/" + gnuplotBin_ + " 2>/dev/null"; gnuplotPipe = popen(command.c_str(), "w");