Info

This question is closed. Reopen it to edit or answer.

How to show minor ticks on semilogx plot? (MATLAB R2011b)

1 view (last 30 days)
Hi, I want to show minor ticks on x axis on my semilogx plot, but Xtick On is not working with my code. I am using Matlab R2011b. Please have a look at my code and help me.
clc
clear all
close all
sigma_inverse = [1 1.5 2.5 5 10e0 10e1 10e2 10e3 10e4 10e5 10e6 10e7 10e8 10e9 10e10 10e11 10e12 10e14];
gamma= [0.1010 0.1042 0.1124 0.1295 0.1532 0.2920 0.5609 0.9967 1.5369 1.9870 2.2328 2.3306 2.3648 2.3758 2.3794 2.3803 2.3803 2.3803];
semilogx(sigma_inverse, gamma, '-ro')
grid on

Answers (0)

Community Treasure Hunt

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

Start Hunting!