So, I have a 3D data in a x,y,z mesh. Now I’m plotting the y,z data for a given x in a 2D plot using plotly.js. Now on the 2D plot I’m editing the plot usnig mouse drag (thanks to this nice piece of code here : http://bl.ocks.org/niclasmattsson/7bceb05fba6c71c78d507adae3d29417 ). Now after every mouse drag (or the update trigger) I’m updating the x,y,z mesh data stored in the variable say data. No problem upto here.
Now what I want to do is to keep another window open and plot the x,y,z mesh data in a 3D plot. And after each time the data gets updated/changed the 3D plot is also updated. I don’t know how to pass the data after every update trigger to a different window and plot from there. How can I do this?