Re: axis text do not plot

Nicholas Jankowski <[email protected]>
Newsgroups gmane.comp.gnu.octave.general
Message-ID <CABNpfR9TAiqKh3idT2YzEj2EQpgHD+L_2UyF4m7UdMzSAeEcqA@mail.gmail.com>
On Sun, May 2, 2021 at 9:54 AM bjkvamme <[email protected]> wrote:

> load hyd3D
>
>
I'm unable to reproduce your results. Obviously I don't have the starting
dataset (hyd3D). but if I try to produce a meshc with a dummy dataset, and
then follow the meshc with your annotation commands, I get results that
show the axis labels.

[X, Y] = meshgrid (linspace (-3, 3, 40));
Z = sqrt (abs (X .* Y)) ./ (1 + X.^2 + Y.^2);
meshc (X, Y, Z);
xlabel ("Delta x",'Color',"k",'fontsize',10)
ylabel ("T (K)",'Color','k','fontsize',10)
zlabel ("Diff. (kJ/mole)",'Color','k','fontsize',10)
set(gca,'fontsize',10)
grid on

What version of Octave, operating system, and graphics toolkit are you
running?     (type graphics_toolkit at the command line).  Can you try the
plot using other toolkits?

graphics_toolkit('qt')
graphics_toolkit('fltk')
graphics_toolkit('gnuplot')

and see if you get the same or different results?  On my system (Octave
6.2.0 on windows) i get the same results showing axis labels using all
three with all three toolkits, but it might help us determine what's
causing your error.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.