<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div>Hi!</div><div><br></div><div><span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/HistogramXYPlot" title="VTK/Examples/Cxx/Images/HistogramXYPlot" style="text-decoration: none; color: rgb(0, 43, 184); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; ">VTK/Examples/Cxx/Images/HistogramXYPlot</a></span></div>
<div> is in <span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; "><a href="http://www.vtk.org/Wiki/Category:VTKMakeMoreInteresting" title="Category:VTKMakeMoreInteresting" style="text-decoration: none; color: rgb(0, 43, 184); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; ">VTKMakeMoreInteresting</a> category because the plot does not take the whole window.</span></div>
<div><font class="Apple-style-span" face="sans-serif"><span class="Apple-style-span" style="line-height: 19px;"><br></span></font></div><div><font class="Apple-style-span" face="sans-serif"><span class="Apple-style-span" style="line-height: 19px;"><br>
</span></font></div><div><font class="Apple-style-span" face="sans-serif"><span class="Apple-style-span" style="line-height: 19px;">It is enough to add after lines:</span></font></div><div><font class="Apple-style-span" face="sans-serif"><span class="Apple-style-span" style="line-height: 19px;"><div>
  plot-&gt;SetXRange( 0, xmax );</div><div>  plot-&gt;SetYRange( 0, ymax );</div><div><br></div><div>new lines:</div><div>  plot-&gt;GetPositionCoordinate()-&gt;SetValue(0.0, 0.0);</div><div>  plot-&gt;GetPosition2Coordinate()-&gt;SetValue(1.0, 1.0);</div>
<div><br></div><div>before line </div><div>  // Visualize the histogram(s)</div><div><br></div><div>Anka</div><div><br></div><div>(Attached the whole file)</div><div><br></div><div><br></div></span></font></div><meta http-equiv="content-type" content="text/html; charset=utf-8">