Difference between revisions of "OpenDX"

From relax wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
* [[Dx_map]]
 
* [[Dx_map]]
  
[[Category:Software]]
+
== How to use dx ==
 +
Run <code>dx</code>, and then in the '''Data explorer''' or '''DE'''.
 +
* Click on <code>Edit Visual Programs...</code>.
 +
* Select the <code>map.net</code> program created by relax,
 +
 
 +
Now in the <code>Visual Program Editor</code> or <code>VPE</code>.
 +
* Select the menu entry <code>Execute->Execute on change</code>.
 +
 
 +
That's it.
 +
 
 +
You now have a 3D frame, but nothing in it.  Therefore the contour levels must be too low or high. From the map file, the values are in the hundreds of thousands.
 +
 
 +
Then:
 +
* In the main program window, double click on the <code>Isosurface elements</code>.
 +
* Change the values until you see surfaces.  In the first the value is 500.  I changed this to 500,000. Multiply all by 1000.
 +
* In the second, 100 -> 100000.
 +
* In the third, 20 -> 20000.
 +
* In the last, 7 -> 7000.
 +
 
 +
This should maybe be performed by the dx.map user function, determining reasonable contour levels. 
 +
 
 +
With a bit of zooming, clicking on <code>File -> Save image</code> in the <code>Surface</code> window, <code>allowing rendering</code>, and outputting to a large TIFF file, <code>save current</code>, then <code>apply</code>.
 +
 
 +
Note that for a good resolution plot, you will need many more increments.  Using the lower and upper dx.map arguments will be useful to zoom into the space.
 +
 
 +
[[Category:OpenDX]]

Latest revision as of 18:50, 21 October 2020

This article is a stub. Please help to improve the relax wiki by expanding the article.

The OpenDX software is a powerful program for visualising multi-dimensional data.

See also

How to use dx

Run dx, and then in the Data explorer or DE.

  • Click on Edit Visual Programs....
  • Select the map.net program created by relax,

Now in the Visual Program Editor or VPE.

  • Select the menu entry Execute->Execute on change.

That's it.

You now have a 3D frame, but nothing in it. Therefore the contour levels must be too low or high. From the map file, the values are in the hundreds of thousands.

Then:

  • In the main program window, double click on the Isosurface elements.
  • Change the values until you see surfaces. In the first the value is 500. I changed this to 500,000. Multiply all by 1000.
  • In the second, 100 -> 100000.
  • In the third, 20 -> 20000.
  • In the last, 7 -> 7000.

This should maybe be performed by the dx.map user function, determining reasonable contour levels.

With a bit of zooming, clicking on File -> Save image in the Surface window, allowing rendering, and outputting to a large TIFF file, save current, then apply.

Note that for a good resolution plot, you will need many more increments. Using the lower and upper dx.map arguments will be useful to zoom into the space.