<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Trebuchet MS";
panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Trebuchet MS",sans-serif;
color:#002060;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060">Seems that you are producing a large format survey which is what I’ve done.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060">Try this<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> def s_scalebar (expr l, units, txt) =<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> begingroup<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> interim warningcheck:=0;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> tmpl:=l / Scale * cm * units / 2;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> tmpx:=l / Scale * cm * units / 5;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> tmph:=25bp; % bar height<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> endgroup;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> pickup PenC;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> draw (-tmpl,0)--(tmpl,0)--(tmpl,-tmph)--(-tmpl,-tmph)--cycle;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> p:=(0,0)--(tmpx,0)--(tmpx,-tmph)--(0,-tmph)--cycle;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> for i:=-2.5 step 2 until 2:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> fill p shifted (i * tmpx,0);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> endfor;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> begingroup<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> interim labeloffset:=3.5bp;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> for i:=0 step (l/5) until (l-1):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> tmpx:=tmpl * (i * 2 / l - 1);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> label.top(thTEX(decimal (i)) scaled 3.6, (tmpx,0));<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> endfor;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> label.top(thTEX(decimal (l) & "\thinspace" & txt) scaled 3.6,(tmpl,0));<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> label.bot(thTEX("Original Scale = 1 : " & decimal round(Scale*100)) scaled 5.6, (.6cm,-1.6cm)) transformed T;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> endgroup;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"> enddef;<o:p></o:p></span></p>
<p>I never found a way of making this stuff bigger so that you can print it out on a large banner. Each element has to be tweaked.
<o:p></o:p></p>
<p>Henry<br>
<br>
-----Original Message-----<br>
From: therion-bounces@speleo.sk [mailto:therion-bounces@speleo.sk] On Behalf Of Torsten Schnitter<br>
Sent: 11 January 2016 11:01<br>
To: therion@speleo.sk<br>
Subject: [Therion] Change size of scalebar<br>
<br>
Hello again<br>
<br>
Recently I asked how to change size of legendsymbols.<br>
Henry helped on this. Thanks again Henry.<br>
<br>
Now my question is how to resize scalebar.<br>
I'm using "Scalebar 2" from this metapost code http://therion.speleo.sk/wiki/doku.php/metapost?s[]=scalebar<br>
As I'm no pro in Metapost or Texcode I don't see how to resize it.<br>
Any help is appreciated.<br>
<br>
Btw:<br>
Is there any easy way to resize parts like scalebar, northarrow, legendsymbols, legendcontent?<br>
I'm using all this parts in seperate legendboxes (within layout part in config<br>
file) to position it on seperate places on the map.<br>
Depending on the size of the map it's recomended to make all this single parts bigger to have a nice view of the map.<br>
<br>
Thanks,<br>
Torsten<br>
_______________________________________________<br>
Therion mailing list<br>
Therion@speleo.sk<br>
http://mailman.speleo.sk/mailman/listinfo/therion<o:p></o:p></p>
</div>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><font size=3><span style="font-family: Times New Roman;"><span style="mso-ansi-language: EN-GB" lang=EN-GB>Dell Corporation Limited </span>is authorised and regulated in the UK by the Financial Conduct Authority for consumer credit brokerage. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></span></font></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><font size=3><span style="font-family: Times New Roman;">Registered in <span style="mso-ansi-language: EN-GB" lang=EN-GB>England and Wales. Company Registration Number: 2081369<o:p></o:p></span></span></font></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><span style="mso-ansi-language: EN-GB" lang=EN-GB><font size=3><span style="font-family: Times New Roman;">Registered address: Dell House, The Boulevard, Cain Road, Bracknell, Berkshire, RG12 1LF, UK.<o:p></o:p></span></font></span></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><span style="mso-ansi-language: EN-GB" lang=EN-GB><span size=3 style="font-family: Times New Roman;">Company details for other Dell UK entities can be found on </span><A href="http://www.dell.co.uk/"><span style="COLOR: windowtext"><span size=3 style="font-family: Times New Roman;">www.dell.co.uk</span></span></A><font size=3><span style="font-family: Times New Roman;">.<o:p></o:p></span></font></span></P></body>
</html>