Currently, when generating a correlation plot using the corr command with the
--plot=display option, the plot does not respect the custom labels provided via the setinfo command. For example:
set verbose off
open denmark.gdt --quiet
setinfo LRM --graph-name="M"
setinfo LRY --graph-name="Y"
corr dataset --plot=display --triangle --quiet
In this case, the correlation plot should display the labels "M" and "Y" (as set using setinfo) instead of the variable names LRM and LRY. However, the plot currently ignores these custom labels.
Update the correlation plot functionality to respect the labels set via the setinfo command. Specifically:
- When --plot=display is used, the plot should display the custom labels (if provided) instead of the default variable names.
- If no custom labels are set, the default behavior (using variable names) should remain unchanged.
setinfo labels.Best
Artur
Isn't this basically the same issue as in https://sourceforge.net/p/gretl/bugs/324/ ?
(BTW, there was some (off-ticket) discussion about the other behavior, with the bottom line that perhaps stuff is more subtle as to what is wanted with those "graph-name" things.)
Oh, you're totally right, @svetosch. I'll close this ticket