matlab 请问如何可以把我在x轴上的标记垂直显示,比如VerticalAlignment %input x and y,where x stands for the sieve size[mm]%y stands for percent passing[%]x=[50.837.525.019.012.59.54.75];y=[100.095.676.462.045.813.71.6];%plot Semilog

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/29 04:23:40
matlab 请问如何可以把我在x轴上的标记垂直显示,比如VerticalAlignment %input x and y,where x stands for the sieve size[mm]%y stands for percent passing[%]x=[50.837.525.019.012.59.54.75];y=[100.095.676.462.045.813.71.6];%plot Semilog

matlab 请问如何可以把我在x轴上的标记垂直显示,比如VerticalAlignment %input x and y,where x stands for the sieve size[mm]%y stands for percent passing[%]x=[50.837.525.019.012.59.54.75];y=[100.095.676.462.045.813.71.6];%plot Semilog
matlab 请问如何可以把我在x轴上的标记垂直显示,比如VerticalAlignment
%input x and y,where x stands for the sieve size[mm]
%y stands for percent passing[%]
x=[50.8
37.5
25.0
19.0
12.5
9.5
4.75];
y=[100.0
95.6
76.4
62.0
45.8
13.7
1.6];
%plot Semilog aggregate gragation chart
semilogx(x,y,'k-diamond','Color',[0,0,1]);
grid on;
box on;
%add title and label
title('Precent passing vs.sieve size on semilog gradation','FontSize',14);
xlabel('sieve size,mm');
ylabel('Precent Passing,%');
%label each marker
set(gca,'XTick',[4.75,9.5,12.5,19.0,25.0,37.5,50.8]);
set(gca,'XTickLabel',{'4.75','9.5','12.5','19.0','25','37.5','50.8'});
我是指x轴的数字,4.75 9.5 12.5 变成垂直的

matlab 请问如何可以把我在x轴上的标记垂直显示,比如VerticalAlignment %input x and y,where x stands for the sieve size[mm]%y stands for percent passing[%]x=[50.837.525.019.012.59.54.75];y=[100.095.676.462.045.813.71.6];%plot Semilog
%label each marker
set(gca,'XTick',[4.75,9.5,12.5,19.0,25.0,37.5,50.8]);
set(gca,'XTickLabel',{ });
pos=[4.75,9.5,12.5,19.0,25.0,37.5,50.8];
h=text(pos,pos.*0-10,{'4.75','9.5','12.5','19.0','25','37.5','50.8'})
set(h,'Rotation',90)

matlab 请问如何可以把我在x轴上的标记垂直显示,比如VerticalAlignment %input x and y,where x stands for the sieve size[mm]%y stands for percent passing[%]x=[50.837.525.019.012.59.54.75];y=[100.095.676.462.045.813.71.6];%plot Semilog 请问怎样在matlab上实现高等数学的常见运算 在matlab上如何只求出多项式的实根 matlab gui里如何实现点击菜单里的余弦就可以在坐标轴上显示余弦函数的图形? matlab绘制函数图形如何表现最大值求函数y=-4.3949*x.^2+29.2961*x-44.0220的最大值是6.6659,在matlab上绘制函数图形,最大值是4.7994.如何在matlab上绘制最大值是6.6659的图像 在MATLAB中如何表示π的x 次方 e的x次幂在matlab中如何表示 请问如何用matlab画三维点,已知x,y,z的坐标,在三维坐标系上显示 matlab画函数图像如何显示坐标网格画出图来只有上下左右有数值我比较习惯看x轴和y轴 请问如何设置默认显示?单看函数大概图像没法看细节处的值啊现在每次都要在edit-axex properties里面勾上x matlab中函数的定义域为开区间,如何做出函数图像,y=x*cosx,x在(-π,π)上关键是开区间可以做出来吗 MATLAB 抛物线拟合 曲线标注问题我用matlab 拟合了一条曲线 并 画出了曲线图 我现在想要做的就是将曲线的方程y=a*x^2+b*x+c (其中a,b,c在拟合参数p1中) 标注在图形上 请问高手如何编程实现 附上 matlab 图像x轴正向在左边 如何实现本人matlab零基础. matlab求函数 exp(x)-2 在区间[0 1]上的零点,可以用一条命令 我可以把我自己的信息在百度上推广吗 matlab 在图像上画矢量用matlab读入一幅图像,并知道某点的方向向量是(nx,ny),我想把这个矢量画在图像上,请问如何实现? MATLAB 中加一条直线1.我想在MATLAB做出的图中加一条y=0 的直线,请问如何添加?2.如何用命令改变坐标轴的刻度?比如,现在x轴的刻度是每格30,我想改成每格为45,如何改变?3.在作图中如何把Y轴去掉? 请问在MATLAB中如何设置小数后的位数,可以到达7位吗?想要求得结果为根号3而不是1.732,和向得到分数结果而不是小数结果在MATLAB中药怎么设置? matlab中定义变量X在区间(0,1)里面请问matlab中如何定义变量X在区间(0,1)里面?也就是定义0