www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/LinePlotWithLogarithmicXAxisScaleExample.m
%% Line Plot with Logarithmic x-Axis Scale % 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 = linspace(0,1000); y = 2*x; semilogx(x,y)