<div dir="ltr"><div><span style="color:rgb(0,0,0);font-size:12.8px">Dear All,</span><span style="color:rgb(0,0,0);font-size:12.8px"><br></span></div><div><span style="color:rgb(0,0,0);font-size:12.8px">This is an old question I asked before but I got no reply, and I wonder if anyone gets a solution to it. </span></div><div><br></div><div style="color:rgb(0,0,0);font-size:12.8px"><br></div><div style="color:rgb(0,0,0);font-size:12.8px">I am using vtkImageData to display a 2D image and I added <span class="">vtkLegendScaleActor</span> to show the <span class="">scale</span> on screen after I set up the SetSpacing of the vtkImageData to its physical resolution, e.g., mm/pixel  in x-direction and mm/pixel in y-direction. </div><div style="color:rgb(0,0,0);font-size:12.8px">For example, I have an image with a dimension of 620x176x1 and the physical dimension of it is (0.13, 1,1), so I setup the spacing to (0.13, 1, 1). And the<span class="">vtkLegendScaleActor</span> will display the physical dimension correctly. The image will show as a long strip because of the spacing are not even in x- and y-direction. Now I would like to fill the image to a 3:2 ratio window, which means I need to set the spacing to (3/0.13, 2/1, 1) but the <span class="">vtkLegendScaleActor</span> will no longer show the correct physical dimension of the image. </div><div style="color:rgb(0,0,0);font-size:12.8px"><br></div><div style="color:rgb(0,0,0);font-size:12.8px">I wonder if there is a way to override the <span class="">actor</span>'s tick label text so it can still show the correct physical dimension. One way to do it is to extract the tick label text and converted to numeric value and then multiple a scaling factor to make it to the actual physical value. Or I wonder if there is an existing function to do it. I searched google on this topic but find nothing useful yet.</div><div style="color:rgb(0,0,0);font-size:12.8px"><br></div><div style="color:rgb(0,0,0);font-size:12.8px">I tried SetAspect for the vtkRender but it seems no magic. Can someone help?</div><div style="color:rgb(0,0,0);font-size:12.8px"><br></div><div style="color:rgb(0,0,0);font-size:12.8px">Regards,</div></div>