From 5bccd734b1841df24aa776687a30da4dbc773bd8 Mon Sep 17 00:00:00 2001
From: Eric Pooser <pooser@jlab.org>
Date: Thu, 2 Mar 2017 16:09:12 -0500
Subject: [PATCH] Fix bug so as to allow logx and logz to have an asymmetric
 number of columns and rows

---
 onlineGUI/onlineGUI_v1.2.1/online.C | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/onlineGUI/onlineGUI_v1.2.1/online.C b/onlineGUI/onlineGUI_v1.2.1/online.C
index f8f13651..c983c6d5 100755
--- a/onlineGUI/onlineGUI_v1.2.1/online.C
+++ b/onlineGUI/onlineGUI_v1.2.1/online.C
@@ -495,7 +495,10 @@ pair <UInt_t, UInt_t> OnlineConfig::GetPageDim(UInt_t page)
   UInt_t page_index = pageInfo[page].first;
   
   UInt_t size1 = 2;
+
+  if (IsLogx(page)) size1 = 3;  // last word is "logy"
   if (IsLogy(page)) size1 = 3;  // last word is "logy"
+  if (IsLogz(page)) size1 = 3;  // last word is "logy"
   
   // If the dimensions are defined, return them.
   if(sConfFile[page_index].size()>size1-1) {
-- 
GitLab