Author Topic: Colored structures by per-atom values to 3D-contour plot conversion  (Read 339 times)

Afshin

  • Newbie
  • *
  • Posts: 7
Dear Alex,

I am using OVITO to color my structure based on per-atom values (Figure1 in attached files), but to provide a better description to my readers I would like to produce a 3D-contour(map) plot using my results (see Figure2 in attached for an example). Is this possible with OVITO at the moment?
I believe that this kind of image rendering would be interesting for the microscopic simulation practitioners since sometimes 2D/3D contours and maps can be more helpful in describing phenomena.

Alexander Stukowski

  • Administrator
  • Hero Member
  • *****
  • Posts: 512
Dear Afshin,

If you understand you correctly, you would like to transfer some atomic property from the unstructured atoms to a three-dimensional structured grid. Is that right? So this function would be similar to the existing Bin and Reduce function, but using a three-dimensional grid of bins instead of two-dimensional.

Afshin

  • Newbie
  • *
  • Posts: 7
Dear Alex,

Thank you very much. This is exactly what I am looking for. Currently, it is only producing 2D contours (for example only "vector 1 and 2" in "Bin and reduce" analysis) and I intend to have "vector 1 and 2 and 3" for 3D demonstration. Also, is it possible to save this contours as an animation or separate image files?

Alexander Stukowski

  • Administrator
  • Hero Member
  • *****
  • Posts: 512
Extending the Bin and Reduce modifier to also support 3d grids is on my wish-list, yes. I am currently working the data model design that will lay the ground work for this.

No, OVITO currently doesn't have a built-in function for exporting the graphical representation of the 2d data grid computed and visualized by the Bin and Reduce modifier. But with some scripting and the matplotlib module of Python one can do it, of course. Python scripts can access the data produced by the Bin and Reduce modifier.