<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 350: Order of major and minor gridlines drawing</title><link>https://sourceforge.net/p/gnuplot/feature-requests/350/</link><description>Recent changes to 350: Order of major and minor gridlines drawing</description><atom:link href="https://sourceforge.net/p/gnuplot/feature-requests/350/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 31 Oct 2012 15:19:55 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/gnuplot/feature-requests/350/feed.rss" rel="self" type="application/rss+xml"/><item><title>Order of major and minor gridlines drawing</title><link>https://sourceforge.net/p/gnuplot/feature-requests/350/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm running gnuplot 4.7 on OS X 10.7.5, but this bug probably affects all platforms.&lt;/p&gt;
&lt;p&gt;The current order for drawing gridlines in 2D plots appears to be:&lt;/p&gt;
&lt;p&gt;Major Y-Axis&lt;br /&gt;
Minor Y-Axis&lt;br /&gt;
Major X-Axis&lt;br /&gt;
Minor X-Axis&lt;/p&gt;
&lt;p&gt;This causes the minor gridlines for the X axis to be draw on top of the major gridlines of the Y axis.  This issue is most likely to show up when using gridlines of different colors/weights in logarithmic plots.  The correct order should probably be:&lt;/p&gt;
&lt;p&gt;Minor Y-Axis&lt;br /&gt;
Minor X-Axis&lt;br /&gt;
Major Y-Axis&lt;br /&gt;
Major X-Axis&lt;/p&gt;
&lt;p&gt;which ensures that all of the major gridlines overlay the minor gridlines.&lt;/p&gt;
&lt;p&gt;The following code reproduces the bug.  In the correct scenario there should be no blue lines overlaying red lines:&lt;/p&gt;
&lt;p&gt;set grid lw 4 lc rgb "#FF0000", lw 2 lc rgb "#0000FF"&lt;br /&gt;
set grid mxtics&lt;br /&gt;
set grid mytics&lt;br /&gt;
set mxtics&lt;br /&gt;
set mytics&lt;br /&gt;
plot 0 notitle&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Gregory</dc:creator><pubDate>Wed, 31 Oct 2012 15:19:55 -0000</pubDate><guid>https://sourceforge.netf08f9fd968a8222223f28ca2ba1fa79ad6ebdfad</guid></item></channel></rss>