Suri
Suri

Reputation: 209

Change the distance between x-axis lables of a plot in MATLAB

I plot the following figure and I want to decrease the distance between x axis labels for example the distance between 1 and 2 or 2 and 3. enter image description here

I do not know how can I do that !!!

I found these pages 1 and 2 but I could not know how should I write those codes without getting exceptions. Since, I am not familiar with Matlab environment.

Upvotes: 1

Views: 126

Answers (1)

user3487667
user3487667

Reputation: 529

The simple way is resize your figure or change it's position. It would change the distance.

Upvotes: 2

Related Questions