logticks

Calculates tick marks at appropriate points for log-scale plots.
1,6K download
Aggiornato 28 giu 2006

Visualizza la licenza

The default behaviour of MATLAB for log scale plots is to give tick marks only at powers of 10. Where the data varies by only a factor of less than 10000, there aren't enough tick marks to be useful. LOGTICKS calculates tick marks at k*10^j, where k can be in {1,2,5}, {1,2}, or simply {1} over a requested range.

The output is given as a structure with two fields: a vector of tick locations, and a cell array of labels for the ticks.

Please see the picture for an example of its use.

Cita come

Richie Cotton (2024). logticks (https://www.mathworks.com/matlabcentral/fileexchange/11563-logticks), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R14SP3
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0