<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:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"
xmlns:ns0="urn:schemas-microsoft-com:office:smarttags">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"
downloadurl="http://www.5iamas-microsoft-com:office:smarttags"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place" downloadurl="http://www.5iantlavalamp.com/"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName" downloadurl="http://www.microsoft.com"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Wingdings 2";
        panose-1:5 2 1 2 1 5 7 7 7 7;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.emailstyle17
        {font-family:Arial;
        color:windowtext;}
span.emailstyle18
        {font-family:Arial;
        color:navy;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-GB link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>John,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Just to confirm that your solution works
perfectly. I set ClampingOn and then toggle between “direction only”
representation and “scaling by magnitude” simply by using SetRange:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>If (ShowDirectionOnly)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>
pGlyphs->SetRange(0.0,averagevalue*1.e-7)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>else<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> pGlyphs->SetRange(0.0,1.0)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Perfect behaviour. Many thanks.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Jim<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div>
<div>
<div>
<p class=MsoNormal><b><font size=3 color=navy face=Arial><span
style='font-size:12.0pt;font-family:Arial;color:navy;font-weight:bold'>James C
Robinson</span></font></b><b><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold'>, </span></font><font
color=navy><span style='color:navy'><o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=3 color=navy face=Wingdings><span
style='font-size:12.0pt;font-family:Wingdings;color:navy;font-weight:bold'>+</span></font><font
color=navy><span style='color:navy'> 42 Rivergrove</span></font></b><b><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy;font-weight:bold'>,</span></font><font color=navy><span
style='color:navy'><o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold'>
</span></font></b><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'><ns0:City w:insAuthor="Jim"
w:insDate="2005-04-21T17:56:00Z" w:endInsAuthor="Jim"
w:endInsDate="2005-04-21T17:56:00Z"><ns0:place w:insAuthor="Jim"
w:insDate="2005-04-21T17:56:00Z" w:endInsAuthor="Jim"
w:endInsDate="2005-04-21T17:56:00Z"><ns0:City w:insAuthor="Jim"
w:insDate="2005-04-21T17:56:00Z" w:endInsAuthor="Jim"
w:endInsDate="2005-04-21T17:56:00Z"><ns0:place w:insAuthor="Jim"
w:insDate="2005-04-21T17:56:00Z" w:endInsAuthor="Jim"
w:endInsDate="2005-04-21T17:56:00Z"><font color=navy><span
style='color:navy'>Glanmire</span></font></ns0:place></ns0:City></ns0:place></ns0:City><font
color=navy><span style='color:navy'>,</span></font></span></font><font
color=navy><span style='color:navy'><o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold'>
Co. </span></font></b><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'><ns0:City w:insAuthor="Jim"
w:insDate="2005-04-21T17:56:00Z" w:endInsAuthor="Jim"
w:endInsDate="2005-04-21T17:56:00Z"><ns0:place w:insAuthor="Jim"
w:insDate="2005-04-21T17:56:00Z" w:endInsAuthor="Jim"
w:endInsDate="2005-04-21T17:56:00Z"><ns0:City w:insAuthor="Jim"
w:insDate="2005-04-21T17:56:00Z" w:endInsAuthor="Jim"
w:endInsDate="2005-04-21T17:56:00Z"><ns0:place w:insAuthor="Jim"
w:insDate="2005-04-21T17:56:00Z" w:endInsAuthor="Jim"
w:endInsDate="2005-04-21T17:56:00Z"><st1:place w:st="on"><st1:City w:st="on"><font
color=navy><span style='color:navy'>Cork</span></font></st1:City></st1:place></ns0:place></ns0:City></ns0:place></ns0:City><font
color=navy><span style='color:navy'>,</span></font></span></font><font
color=navy><span style='color:navy'><o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold'>
</span></font></b><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'><ns0:place w:insAuthor="Jim"
w:insDate="2005-04-21T17:56:00Z" w:endInsAuthor="Jim"
w:endInsDate="2005-04-21T17:56:00Z"><ns0:place w:insAuthor="Jim"
w:insDate="2005-04-21T17:56:00Z" w:endInsAuthor="Jim"
w:endInsDate="2005-04-21T17:56:00Z"><st1:place w:st="on"><font color=navy><span
style='color:navy'>Eire</span></font></st1:place></ns0:place></ns0:place></span></font><font
color=navy><span style='color:navy'><o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=3 color=navy face="Wingdings 2"><span
style='font-size:12.0pt;font-family:"Wingdings 2";color:navy;font-weight:bold'>'</span></font></b><b><font
color=navy face=Arial><span style='font-family:Arial;color:navy;font-weight:
bold'> +353 21 4822028</span></font><font
color=navy><span style='color:navy'><o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy;font-weight:bold'>
+353 87 2393010<o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=3 color=navy face=Wingdings><span
style='font-size:12.0pt;font-family:Wingdings;color:navy;font-weight:bold'>-</span></font></b><b><font
color=navy face=Arial><span style='font-family:Arial;color:navy;font-weight:
bold'> </span></font><ns0:PersonName w:insAuthor="Jim"
w:insDate="2005-04-21T17:56:00Z" w:endInsAuthor="Jim"
w:endInsDate="2005-04-21T17:56:00Z"><ns0:PersonName w:insAuthor="Jim"
w:insDate="2005-04-21T17:56:00Z" w:endInsAuthor="Jim"
w:endInsDate="2005-04-21T17:56:00Z"></ns0:PersonName><font color=blue><span
style='color:blue'><a href="mailto:jrobinson@eircom.net">jrobinson@eircom.net<font
color=black><span style='color:windowtext;text-decoration:none'></ns0:PersonName></span></font><font
color=black><span style='color:windowtext;text-decoration:none'>></span></font></a></span></font><font
color=navy face=Arial><span style='font-family:Arial;color:navy'> </span></font><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy;font-weight:normal'><o:p></o:p></span></font></b></p>
</div>
</div>
</div>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font><span
lang=EN-US><o:p></o:p></span></p>
</div>
</div>
</div>
</body>
</html>