Dear all,
I am writing here becasue it seems to me that this issue has not been addressed previously.
I am creating a heatmap using heatplot, but I am failing to plot the (previoulsy encoded) value labels of my y-axis variable. It is interesting that this instead works when I use twoway contour. I initially thought that there was an issue in my data, but the same applies when I use the dataset auto2. Specifically:
Produces the following output:
Whereas when I use
I manage to obtain the correct value labels:

Is anyone able to explain why this happens? Maybe the command heatplot does not support the "valuelabel" option?
In any case, could anyone please help in fixing the issue with "heatplot"? For my specific data it seems to me that heatplot is a more flexible command than twoway contour.
Thank you in advance.
I am writing here becasue it seems to me that this issue has not been addressed previously.
I am creating a heatmap using heatplot, but I am failing to plot the (previoulsy encoded) value labels of my y-axis variable. It is interesting that this instead works when I use twoway contour. I initially thought that there was an issue in my data, but the same applies when I use the dataset auto2. Specifically:
Code:
sysuse auto2, clear heatplot price rep78 foreign, ylabel(1(1)5, valuelabel)
Whereas when I use
Code:
twoway contour price rep78 foreign, heatmap ylabel(1(1)5, valuelabel)
Is anyone able to explain why this happens? Maybe the command heatplot does not support the "valuelabel" option?
In any case, could anyone please help in fixing the issue with "heatplot"? For my specific data it seems to me that heatplot is a more flexible command than twoway contour.
Thank you in advance.
Comment