<div dir="ltr"><div>Hi Lizeth,</div><div><br></div><div>This is just a guess on my part, but I think that you have to pass the</div><div>data through the vtkAttributeDataToFieldData filter in order to make</div><div>data arrays visible to the vtkXYPlotActor.</div><div><br></div><div> - David</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 5, 2014 at 10:46 AM, Lizeth Castellanos <span dir="ltr"><<a href="mailto:castellanoslizan@gmail.com" target="_blank">castellanoslizan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello vtk-users!</div><div><br></div><div>I'm using vtkImageGradientMagnitude and  vtkImageLaplacian filters to obtain  the gradient and laplacian of an image. This works very well and I can see the results in the images.</div><div><br></div><div>Now, I want to plot the gradient mangitude and the laplacian. (Gradient in my x-axis and the probability density on my y-axis, and the same respectively for plot the Laplacian)</div><div><br></div><div>Could someone tell me how to add the vtkImageGradientMagnitude and  vtkImageLaplacian outputs to vtkXYPlotActor ? </div><div><br></div><div>Thanks!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-Lizeth</div></font></span></div></blockquote></div><br></div></div>