<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I think there is no vtk-api way to do that. A fast work-around though is by creating a callback when the xyplotactor is modified, then manually set the fontsize of the title, axis labels etc to appropriate scale.<br><br>Search for "SetRelativeFontSize", in the implementation of vtkxyplotactor (http://public.kitware.com/cgi-bin/cvsweb.cgi/VTK/Hybrid/vtkXYPlotActor.cxx?rev=1.69;content-type=text%2Fplain) to see how the vtkxyplotactor sizes the fonts and do the inverse to get non-resized fonts.<br><br>I may try this in my code in the near future and will send you a response if I get appropriate results.<br><br>Best<br>Nasos<br><br>> Date: Thu, 18 Jun 2009 19:24:39 +0200<br>> From: nundee@gmail.com<br>> To: vtkusers@vtk.org<br>> Subject: [vtkusers] Help: How to keep the axis labels in a vtkXYPlotActor from being scaled<br>> <br>> Hi,<br>> <br>> if you resize the render window containing a XYPlotActor the axis labels<br>> will get also resized. Is there any way to change this behaviour, <br>> leaving the labels unscaled ?<br>> <br>> Thanks in advance<br>> Nandi<br>> _______________________________________________<br>> Powered by www.kitware.com<br>> <br>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br>> <br>> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>> <br>> Follow this link to subscribe/unsubscribe:<br>> http://www.vtk.org/mailman/listinfo/vtkusers<br><br /><hr />Insert movie times and more without leaving HotmailŪ. <a href='http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009' target='_new'>See how.</a></body>
</html>