[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How I do to personalize axis?
From: |
Darío |
Subject: |
How I do to personalize axis? |
Date: |
Sun, 06 May 2018 10:00:12 -0400 |
Hello! I have a script with discrete elements for a vector (no more than 12), is a row vector. I need only in the x-axis see the elements of the vector, but I see by default in two space or five space. For example if my vector is:
f=[ 1.00 1.41 2.00 2.83 4.00 5.66 8.00 11.31 16.00 22.63 32.00]
I need only in the x-axis this values reflected in the abscissa, the same in the y-axis.
I tried with the set command:
set(gca, 'xlim',[f(1,1), f(1,N)])
when f(1,1) represent the first element and f(1,N) would represent the last element that depend of N, but it'snt work.
Thanks a lot!
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- How I do to personalize axis?,
Darío <=