[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xticklables
From: |
Pantxo |
Subject: |
Re: xticklables |
Date: |
Wed, 30 Oct 2019 04:28:00 -0500 (CDT) |
Raag Saluja wrote
> Hi!
>
> I tried making a bar graph with categorical data. However, the xticklabels
> are not coming below the bars. Can you please help?
You first need to change the value of xticks so that they match the xdata of
your bar graph:
x= (1.5:1.5:6);
y = [5 20 77 19];
bar (x, y)
set (gca, "xtick", x, "xticklabel", {"a", "b", "c", "\\alpha"})
Pantxo
--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
- xticklables, Raag Saluja, 2019/10/30
- Re: xticklables,
Pantxo <=