<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Hi Andy (all),<br>
      <br>
         just to reiterate on this : I am not a Python coder but, in
      case, the single line I introduced in </tt><tt>bin/make-plots
      (see below) was enough to get the thing works.<br>
      In other words, I only introduced a new flag ("</tt><tt>RatioPlotLogY")
      to activate the logY mode for the ratio plot.<br>
      <br>
      Cheers,<br>
        Antonin<br>
      <br>
    </tt>
    <div class="moz-cite-prefix">Le 05/03/2018 à 18:54, Andy Buckley a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:local-6cf00de3-c218-v1.1.4-22d9f20d@unity">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div>Hi Antonin, all,</div>
      <br>
      <div>Apologies for the delayed response!</div>
      <br>
      <div>I've been thinking for a while that a log y-axis in the ratio
        plot would be a nice option. Unfortunately manpower is
        particualrly short on the plotting tools and so I can't promise
        anything concrete -- any chance that you could take a look and
        propose a patch? (I don't remember how much common functionality
        there is between the MainPlot and RatioPlot classes, but I think
        both use a YAxis drawing object, so maybe we just need to
        provide a config flag to activate the log mode...)</div>
      <br>
      <div>Thanks,</div>
      <div>Andy</div>
      <br>
      <div><signature id="initial">
          <div>
            <table cellspacing="0" cellpadding="0">
              <tbody>
                <tr>
                  <td colspan="2">
                    <div style="padding-bottom:15px;">
                      <div><strong>Dr Andy Buckley, Lecturer / Royal
                          Society University Research Fellow</strong></div>
                      <div>Particle Physics Experiment Group, University
                        of Glasgow</div>
                    </div>
                  </td>
                </tr>
                <tr>
                  <td style="vertical-align:top;"><br>
                  </td>
                  <td><br>
                  </td>
                </tr>
              </tbody>
            </table>
          </div>
        </signature></div>
      <div class="gmail_quote_attribution">On Feb 14 2018, at 9:25 am,
        Antonin Maire (CERN) <a class="moz-txt-link-rfc2396E" href="mailto:antonin.maire@cern.ch"><antonin.maire@cern.ch></a> wrote:</div>
      <blockquote><br>
        <div>
          <div>Good morning Rivet authors,</div>
          <br>
          <div>  I am currently working with Rivet 2.5.1 (ALICE central
            installation</div>
          <div>on Grid) but my personal demand seems to be still valid
            in version 3.0</div>
          <div>alpha.</div>
          <br>
          <div>Would it be possible to introduce the possibility to have
            LogY option</div>
          <div>also for ratio plots ?</div>
          <br>
          <div>To do that, I have tampered with bin/make-plots python
            code by having</div>
          <div>the following change :</div>
          <br>
          <div>In v2.5.1</div>
          <div>@@ -208,6 +212,7 @@ class InputData(Described):</div>
          <div>         self.description['LogX'] =
            self.description.has_key('LogX')</div>
          <div>and self.description['LogX']=='1'</div>
          <div>         self.description['LogY'] =
            self.description.has_key('LogY')</div>
          <div>and self.description['LogY']=='1'</div>
          <div>         self.description['LogZ'] =
            self.description.has_key('LogZ')</div>
          <div>and self.description['LogZ']=='1'</div>
          <div>+        self.description['RatioPlotLogY'] =</div>
          <div>self.description.has_key('RatioPlotLogY') and</div>
          <div>self.description['RatioPlotLogY']=='1'</div>
          <div>         if self.description.has_key('Rebin'):</div>
          <div>             for i in self.histos:</div>
          <div>                 self.histos[i].description['Rebin'] =</div>
          <div>self.description['Rebin']</div>
          <br>
          <div>The same lines are around l.135 in v3.0.0alpha1</div>
          <br>
          <div>I am not a Python coder so my solution may not be the
            best (you may have</div>
          <div>better to propose...), but at least having instructions
            like</div>
          <div>'RatioPlotLogY=1' into .plot files seems to produce the
            expected result.</div>
          <br>
          <div>Regards,</div>
          <div>  Antonin</div>
          <br>
          <div>_______________________________________________</div>
          <div>Rivet mailing list</div>
          <div><a class="moz-txt-link-abbreviated" href="mailto:Rivet@projects.hepforge.org">Rivet@projects.hepforge.org</a></div>
          <div><a class="moz-txt-link-freetext" href="https://www.hepforge.org/lists/listinfo/rivet">https://www.hepforge.org/lists/listinfo/rivet</a></div>
        </div>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>