QuantumATK Forum

QuantumATK => General Questions and Answers => Topic started by: Roc on January 2, 2009, 13:58

Title: Some questions about "Color by"
Post by: Roc on January 2, 2009, 13:58
Dear everyone,

When the result document .vnl is visualized by VNL tool, there are three options " Value, Magnitude, Sign" in the "Color by" pull-down menu, how do I choose it, and why is the numerical value different in the "Show colorbar" sometimes when I choose  "Value" or others. Just choose the default? I haven't understood the explanation in the manuscript:
Magnitude: available for all types of functions.
Phase: available for complex functions, such as wave functions.
Sign: available for real functions.
Value: available for real functions.


Thanks.
Title: Re: Some questions about "Color by"
Post by: Anders Blom on January 2, 2009, 22:28
For a 3D grid with real data (such as the electron density) you can for each type of plot (isosurface, volume plot, contour plot) choose how the data values will be mapped to colors in the plot.


For complex data (Bloch functions), there is additionally an option to color the data by the phase. In this case the "Value" option is not available, only the Magnitude of a complex number makes sense.

For each option, the data values are mapped linearly onto the colormap (there are a couple of different ones available) to color the plot. The numerical max and min values of the data set are shown in the corresponding boxes (if Value is used), but by entering different values you can "zoom" in/out in color in order to highlight specific features in the data.

The best way to figure out which plot that works best for your specific case is typically to play around with the options and see how the plot changes (click the Show button to see the effect). Note that for performance reasons only one volume plot can be shown at the time.
Title: Re: Some questions about "Color by"
Post by: Roc on January 3, 2009, 01:43
Ok,thank you very much, Sir!  :)
Title: Re: Some questions about "Color by"
Post by: Roc on January 7, 2009, 01:40
Dear everyone,

However, for my same one .vnl result document, I polt it using the three choices, respectively, as follows,(the first one is that when I choose "sign",the second is the situation for "Magnitude").
We can see that, the numbers are different at the "Show colorbar". Especial for the "sign", It seems that only three colors describe the data extent.

So, I'm still confused with that how to decide the choice.
Which is  correct, how to explain it?

Thanks very much! :)
Regards!
Title: Re: Some questions about "Color by"
Post by: Anders Blom on January 7, 2009, 10:48
Actually, the number are not really different on the colorbar... The data set contains values between -11.1 and 12.2.


In general, there is no "correct" (and hence no "wrong") choice, it's a matter of how you want to present your results.
Title: Re: Some questions about "Color by"
Post by: Roc on January 7, 2009, 12:33
Thank you very very~~~~~~ much, you are very kind! :) ;)

Best wishes!