<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1467006375617_5372" dir="ltr">I have data that is stored in std::vector - one for the X axis and one for the y axis. How do I get this into vtkarray / vtkTable for plotting - other than iterate through the vector and setting values one by one (there is a lot of data ). my data is either std::vector<double> or std::vector<unsigned short>. </div><div id="yui_3_16_0_ym19_1_1467006375617_5372" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1467006375617_5372" dir="ltr">Is there a way to assign a pointer from my data to the vtkarray, or at least do a bulk copy of all the data rather than individually setting the values.</div><div id="yui_3_16_0_ym19_1_1467006375617_5372" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1467006375617_5372" dir="ltr">Thanks in advance,</div><div id="yui_3_16_0_ym19_1_1467006375617_5372" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1467006375617_5372" dir="ltr">-Arasu</div></div></body></html>