From ca14641c2116d7263596aa41a03ad4437f1a698a Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (o)" <j.wuttke@fz-juelich.de>
Date: Fri, 23 Jun 2017 13:48:27 +0200
Subject: [PATCH] restrict setCoord to reasonable accuracy

---
 pub/plot/ps_plotter.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pub/plot/ps_plotter.cpp b/pub/plot/ps_plotter.cpp
index af86458a..82ea4bce 100644
--- a/pub/plot/ps_plotter.cpp
+++ b/pub/plot/ps_plotter.cpp
@@ -188,7 +188,7 @@ namespace {
 
     string ps_coord(const CAxis* A, const char a)
     {
-        return str(format("%1i %13.7g %13.7g %cSetCoord\n") % A->logflag % A->inf % A->sup % a);
+        return str(format("%1i %12.4g %12.4g %cSetCoord\n") % A->logflag % A->inf % A->sup % a);
     }
 
     string ps_axis(const CAxis* A, const string& label, const char a)
-- 
GitLab