<HTML>
<HEAD>
<TITLE>Re: [GRASS-user] Horizontal legend font size</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Typo correction<BR>
The line<BR>
I read the previous line to mean the only way to create a legend is to use at and make the box wider than it is tall. Is that correct? Can I make a legend horizontal without using at=bottom,top,left,right <BR>
Should read<BR>
I read the previous line to mean the only way to create a <I>horizontal </I>legend is to use at and make the box wider than it is tall. Is that correct? Can I make a legend horizontal without using at=bottom,top,left,right <BR>
<BR>
<BR>
On 8/11/08 2:50 PM, "Paul Moen" <<a href="pmoen@nd.gov">pmoen@nd.gov</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I want to create a horizontal legend for a raster. <BR>
<BR>
The docs say,<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>When using the mouse or at to size & place the legend, a user may create a horizontal legend by making the box wider than it is tall.<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
I read the previous line to mean the only way to create a legend is to use at and make the box wider than it is tall. Is that correct? Can I make a legend horizontal without using at=bottom,top,left,right <BR>
<BR>
The docs also say,<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Vertical legends produced with d.legend will place text labels to the right of the legend box, horizontal legends will place text below. This text will be auto-scaled to fit within the frame, reducing the size of the legend if necessary. Legends positioned with the mouse or with the at option will not auto-scale text, in order to provide more control to the user. <BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
The last line that says that the text will not auto-scale when using at, which means that a horizontal legend’s text will never auto-scale since the horizontal legend can only be made by using at to create a box that is wider than it is tall. Am I misinterpreting anything? <BR>
<BR>
My problem is that I get a horizontal legend that looks great except the text is huge and looks awful. <BR>
<BR>
How can I change the size of the text in the legend?<BR>
<BR>
The following are my commands.<BR>
<BR>
d.rast raster@Temp<BR>
d.frame -c frame=leg at=1,10,5,95<BR>
d.legend -s range=0,13.5 labelnum=5 at=80,100,5,95 map=raster@Temp<BR>
<BR>
Thanks,<BR>
<BR>
Paul<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
grass-user mailing list<BR>
<a href="grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><BR>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Paul T. Moen<BR>
<a href="pmoen@nd.gov">pmoen@nd.gov</a><BR>
701-328-2434<BR>
701-328-3696 (fax)<BR>
ND State Water Commission<BR>
</SPAN></FONT>
</BODY>
</HTML>