peaks; axis tight %Set the axis limits to equal the range of the data axis square axis 'auto x' %x轴坐标上下限自动调整 axis off %Plot a surface without displaying the axes lines and background. set(gca,'Visible','off'); %消除坐标轴,显示范围的大小没有改变,同上句 %更多特性
一起来学matlab-数组取值 觉得有用的话,欢迎一起讨论相互学习~Follow Me MATLAB中的字符串符号 :冒号 s1=['I am sad';'you are ';'interest'] % 按照行取值 a1=s1(1,:) % 表示取第一行,列全取值 % 按照列取值 b1=s1(:,1) % 表示取第一列,行全取值 >> s1=['I am sad';'you are ';'interest'] s1 = I am sad you are interest >> a1
语法解释: $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发 var checkText=$("#select_id").find("option:selected").text(); //获取Select选择的Text var checkValue=$("#select_id").val(); //获取Select选择的Value