<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 25, 2014, at 12:05 PM, Ryglicki, David CIV FNMOC wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Greetings, GrADS list.<br><br>Although, I think, this is probably a question for Jennifer specifically. In the attached image I created using (Open)GrADS 2.1.a2, I took advantage of the new font capabilities and used the Utopia font class. On the right side, "Members" and "NVG" are both produced using "set strsiz 0.18". This gives the more square-looking fonts - aspect ratio of 1:1 - that we see in word processors like Word and Writer.</div></blockquote><div>I have noticed that some fonts look better if you specify *both* the hsize and vsize with 'set strsiz' -- many fonts look odd with the 1:1 ratio. There is no reason why the GrADS defaults would look right for every font. And we think the ability to stretch the fonts in either direction is a nice feature -- gives you more flexibility to control how things look and squeeze strings into spaces that would otherwise not fit.&nbsp;</div><div><br></div><blockquote type="cite"><div>But the axes and labels are stretched to GrADS's default font aspect ratio of 6:5 (y:x). At least, I think from trial and error on my end, it's 6:5.</div></blockquote>The axis labels have a width that is 80% of the height; the height is specified with 'set xlopts' and 'set ylopts'. That 80% is a hard-coded number at the moment. I will put it on my to-do list to implement an extra argument for 'set xlopts' and 'set ylopts' to specify a width as well.&nbsp;</div><div><br><blockquote type="cite"><div> I've added a sample image from gnuplot with the Utopia font class that does not have this stretching on the axis labels.<br><br>Anyway, is there a way to override this before I give the "draw xlab/ylab/title" commands? </div></blockquote><div>Drawing xlab, ylab, and title use different string settings than the axis tic labels. I usually prefer to control these labels more completely by using the string setting commands and 'draw string' instead.</div><div><br></div><div>If you really feel strongly about the ugliness of the 80% aspect ratio, you can draw the axis labels manually with 'draw string' as well, it would just take a bit of extra scripting.&nbsp;</div><br><blockquote type="cite"><div>Additionally, if there is no way to do this from GrADS itself, can you provide vague directives to modify the source code to fix this?<br></div></blockquote>I will implement this change for the next release.&nbsp;</div><div>--Jennifer<br><blockquote type="cite"><div><br>Thanks.<br><br>~Dave<br><span>&lt;nvg.prob-wind_10m.area.30N-35N_120W-115W.png&gt;</span><span>&lt;gnuplot-example.png&gt;</span>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams<br>Center for Ocean-Land-Atmosphere Studies (COLA)<br>111 Research Hall, Mail Stop 2B3<br>George Mason University<br>4400 University Drive<br>Fairfax, VA 22030&nbsp;<br><br></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span></span><br class="Apple-interchange-newline">
</div>
<br></body></html>