How to modify hyperview visualization
When I open HyperView and plot a contour, the legend is presented by default. It is possible to customize and save the legend. Afterwards, when you open a new file, you can load the previous TCL legend file.
Is it possible to modify the default parameters to always have the same format when you open a file? Specifically, can the TCL legend file be applied automatically without the need to manually load it each time?
Answers
-
You could add a statement like this
*DefaultPostContourLegendFile("<file_path>/custom_legend.tcl")
in <install_directory>\hwdesktop\hw\prefinc\preferences_post.mvw
1 -
Varun Venkateswaran said:
You could add a statement like this
*DefaultPostContourLegendFile("<file_path>/custom_legend.tcl")
in <install_directory>\hwdesktop\hw\prefinc\preferences_post.mvw
Dear Varun,
Thank you for the answer. However, I tried what you proposed addapting to my path and file name, but the default legend has not changed.
Indeed, I found this row and changed the path and file name. DefaultPostContourLegendFile("c:/tmp/clegend.tcl")
Is there any other option? for example, running this command in the start-in directory. If I run it once it has oppened, it works fine.
hwc result scalar legend import "<file_path>/custom_legend.tcl"
Thank you in advance.
0 -
The preference statement needs a * in front of it to become active, as shown in my example above.
*DefaultPostContourLegendFile("<file_path>/custom_legend.tcl")
Could you please make sure you have added it?
0 -
Varun Venkateswaran said:
The preference statement needs a * in front of it to become active, as shown in my example above.
*DefaultPostContourLegendFile("<file_path>/custom_legend.tcl")
Could you please make sure you have added it?
Dear Varun,
You were right, and I was missing the *. This is because the original file does not have it.
It works well. Thank you very much!
0