www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/LogarithmicScaleForXAxisExample.m
%% Logarithmic Scale for x-Axis % Create a plot with a logarithmic scale for the % x-axis and a linear scale for the y-axis. % Copyright 2015 The MathWorks, Inc. x = 0:1000; y = log(x); figure semilogx(x,y)