matlab画散点图,横坐标用对数刻度,

来源:学生作业帮助网 编辑:六六作业网 时间:2024/05/16 00:45:37
matlab画散点图,横坐标用对数刻度,matlab画散点图,横坐标用对数刻度,matlab画散点图,横坐标用对数刻度,给你个例子:x=2.^(1:5:100);y=log(x);semilogx(x

matlab画散点图,横坐标用对数刻度,
matlab画散点图,横坐标用对数刻度,

matlab画散点图,横坐标用对数刻度,
给你个例子:
x = 2.^ (1 :5:100);
y = log(x);
semilogx(x,y,'o');

在plot窗口,edit→axes properties,在下面出现的property editor窗口中,点击X axis,点击第三行的x scale右边的下拉列表中的log,即可完成。