亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? matlab實(shí)用程序百例2.txt

?? 一本有關(guān)MIT matlab的書籍
?? TXT
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):
實(shí)例47:曲線標(biāo)記

h0=figure('toolbar','none',...
    'position',[198 56 408 468],...
    'name','my second gui');
h1=axes('parent',h0,...
    'position',[0.15 0.45 0.7 0.5],...
    'visible','on');
x=0:0.1:2*pi;
k=plot(x,sin(x),'*');
xlabel('自變量X');
ylabel('函數(shù)值Y');
title('標(biāo)記類型的改變');
p1=uicontrol('parent',h0,...
    'style','pushbutton',...
    'string','+',...
    'fontsize',20,...
    'foregroundcolor',[1 1 1],...
    'backgroundcolor',[0 0 0],...
    'position',[60 100 50 20],...
    'callback','set(k,''marker'',''+'')');
p2=uicontrol('parent',h0,...
    'style','pushbutton',...
    'string','o',...
    'fontsize',20,...
    'foregroundcolor',[1 1 1],...
    'backgroundcolor',[0 0 0],...
    'position',[170 100 50 20],...
    'callback','set(k,''marker'',''o'')');
p3=uicontrol('parent',h0,...
    'style','pushbutton',...
    'string','x',...
    'fontsize',20,...
    'foregroundcolor',[1 1 1],...
    'backgroundcolor',[0 0 0],...
    'position',[280 100 50 20],...
    'callback','set(k,''marker'',''x'')');
p4=uicontrol('parent',h0,...
    'style','pushbutton',...
    'backgroundcolor',[1 1 1],...
    'fontsize',20,...
    'fontweight','demi',...
    'string','關(guān)閉',...
    'position',[150 30 80 60],...
    'callback','close');
t1=uicontrol('parent',h0,...
    'style','text',...
    'string','星號(hào)',...
    'fontsize',12,...
    'fontweight','demi',...
    'position',[60 120 50 20]);
t2=uicontrol('parent',h0,...
    'style','text',...
    'string','圓圈',...
    'fontsize',12,...
    'fontweight','demi',...
    'position',[170 120 50 20]);
t3=uicontrol('parent',h0,...
    'style','text',...
    'string','叉號(hào)',...
    'fontsize',12,...
    'fontweight','demi',...
    'position',[280 120 50 20]);
實(shí)例48:修改曲型

h0=figure('toolbar','none',...
    'position',[198 56 408 468],...
    'name','實(shí)例48');
h1=axes('parent',h0,...
    'position',[0.15 0.45 0.7 0.5],...
    'visible','on');
x=0:0.1:2*pi;
k=plot(x,sin(x));
xlabel('自變量X');
ylabel('函數(shù)值Y');
title('線型的改變');
p1=uicontrol('parent',h0,...
    'style','pushbutton',...
    'string','-.',...
    'fontsize',20,...
    'foregroundcolor',[1 1 1],...
    'backgroundcolor',[0 0 0],...
    'position',[60 100 50 20],...
    'callback','set(k,''linestyle'',''-.'')');
p2=uicontrol('parent',h0,...
    'style','pushbutton',...
    'string',':',...
    'fontsize',20,...
    'foregroundcolor',[1 1 1],...
    'backgroundcolor',[0 0 0],...
    'position',[170 100 50 20],...
    'callback','set(k,''linestyle'','':'')');
p3=uicontrol('parent',h0,...
    'style','pushbutton',...
    'string','-',...
    'fontsize',20,...
    'foregroundcolor',[1 1 1],...
    'backgroundcolor',[0 0 0],...
    'position',[280 100 50 20],...
    'callback','set(k,''linestyle'',''-'')');
p4=uicontrol('parent',h0,...
    'style','pushbutton',...
    'backgroundcolor',[1 1 1],...
    'fontsize',20,...
    'fontweight','demi',...
    'string','關(guān)閉',...
    'position',[150 30 80 60],...
    'callback','close');
t1=uicontrol('parent',h0,...
    'style','text',...
    'string','點(diǎn)劃線',...
    'fontsize',12,...
    'fontweight','demi',...
    'position',[60 120 50 20]);
t2=uicontrol('parent',h0,...
    'style','text',...
    'string','虛線',...
    'fontsize',12,...
    'fontweight','demi',...
    'position',[170 120 50 20]);
t3=uicontrol('parent',h0,...
    'style','text',...
    'string','實(shí)線',...
    'fontsize',12,...
    'fontweight','demi',...
    'position',[280 120 50 20]);
實(shí)例49:指定坐標(biāo)軸范圍

h0=figure('toolbar','none',...
    'position',[198 56 408 468],...
    'name','實(shí)例49');
h1=axes('parent',h0,...
    'position',[0.15 0.45 0.7 0.5],...
    'visible','on');
x=0:0.1:2*pi;
y=sin(x);
plot(x,y);
xlabel('X');
ylabel('Y');
title('坐標(biāo)軸范圍的改變');
h=get(gca,'xlim');
k=get(gca,'ylim');
e1=uicontrol('parent',h0,...
    'style','edit',...
    'string',eval(num2str(h(1))),...
    'horizontalalignment','right',...
    'position',[80 120 100 20]);
t1=uicontrol('parent',h0,...
    'style','text',...
    'string','X軸最小值',...
    'position',[100 145 80 20]);
e2=uicontrol('parent',h0,...
    'style','edit',...
    'string',eval(num2str(h(2))),...
    'horizontalalignment','right',...
    'position',[80 60 100 20]);
t2=uicontrol('parent',h0,...
    'style','text',...
    'string','X軸最大值',...
    'position',[100 85 80 20]);
e3=uicontrol('parent',h0,...
    'style','edit',...
    'string',eval(num2str(k(1))),...
    'horizontalalignment','right',...
    'position',[250 120 100 20]);
t3=uicontrol('parent',h0,...
    'style','text',...
    'string','Y軸最小值',...
    'position',[270 145 80 20]);
e4=uicontrol('parent',h0,...
    'style','edit',...
    'string',eval(num2str(k(2))),...
    'horizontalalignment','right',...
    'position',[250 60 100 20]);
t4=uicontrol('parent',h0,...
    'style','text',...
    'string','X軸最小值',...
    'position',[270 85 80 20]);
p1=uicontrol('parent',h0,...
    'style','pushbutton',...
    'string','設(shè)置',...
    'position',[105 10 50 30],...
    'callback',[...
        'a=str2num(get(e1,''string''));,',...
        'b=str2num(get(e2,''string''));,',...
        'c=str2num(get(e3,''string''));,',...
        'd=str2num(get(e4,''string''));,',...
        'axis([a b c d]),',...
        'drawnow']);
p2=uicontrol('parent',h0,...
    'style','pushbutton',...
    'string','關(guān)閉',...
    'position',[275 10 50 30],...
    'callback','close');
實(shí)例50:繪制不同函數(shù)曲線的用戶界面

h0=figure('toolbar','none',...
    'position',[198 56 408 468],...
    'name','實(shí)例50');
h1=axes('parent',h0,...
    'position',[0.29 0.45 0.7 0.5],...
    'visible','on');
f=uicontrol('parent',h0,...
    'style','frame',...
    'position',[5 50 90 400]);
p1=uicontrol('parent',h0,...
    'style','pushbutton',...
    'position',[150 100 60 40],...
    'string','繪圖',...
    'callback',[...
        'm=str2num(get(e1,''string''));,',...
        'n=str2num(get(e2,''string''));,',...
        'a=get(l1,''value'');,',...
        'x=m:0.1:n;',...
        'if a==1,',...
        'plot(x,sin(x)),',...
        'end,',...
        'if a==2,',...
        'plot(x,cos(x)),',...
        'end,',...
        'if a==3,',...
        'plot(x,exp(x)),',...
        'end']);
p2=uicontrol('parent',h0,...
    'style','pushbutton',...
    'position',[270 100 60 40],...
    'string','關(guān)閉',...
    'callback','close');
l1=uicontrol('parent',h0,...
    'style','listbox',...
    'position',[10 300 80 80],...
    'string','sin(x)|cos(x)|exp(x)',...
    'value',1,...
    'max',0.5,...
    'min',0);
f2=uicontrol('parent',h0,...
    'style','text',...
    'string','選擇函數(shù)',...
    'fontsize',10,...
    'position',[10 380 80 20]);
r1=uicontrol('style','radio',...
    'string','grid on',...
    'value',0,...
    'position',[10 100 60 20],...
    'callback',[...
        'grid on,',...
        'set(r1,''value'',1);,',...
        'set(r2,''value'',0)']);
r2=uicontrol('style','radio',...
    'string','grid off',...
    'position',[10 80 60 20],...
    'value',1,...
    'callback',[...
        'grid off,',...
        'set(r2,''value'',1);,',...
        'set(r1,''value'',0)']);
e1=uicontrol('parent',h0,...
    'style','edit',...
    'string',0,...
    'position',[20 210 60 20],...
    'horizontalalignment','right');
e2=uicontrol('parent',h0,...
    'style','edit',...
    'string','3',...
    'position',[20 150 60 20],...
    'horizontalalignment','right');
t1=uicontrol('parent',h0,...
    'style','text',...
    'string','X from',...
    'fontsize',10,...
    'position',[20 230 60 20],...
    'horizontalalignment','center');
t2=uicontrol('parent',h0,...
    'style','text',...
    'string','To',...
    'fontsize',10,...
    'position',[20 170 60 20],...
    'horizontalalignment','center');
實(shí)例51:可設(shè)置函數(shù)曲線圖視角的用戶界面

h0=figure('toolbar','none',...
    'position',[198 56 408 468],...
    'name','實(shí)例51');
h1=axes('parent',h0,...
    'position',[0.15 0.45 0.7 0.5],...
    'visible','off');
[x,y]=meshgrid(-8:0.5:8);
r=sqrt(x.^2+y.^2)+eps;
z=sin(r)./r;
f1=surf(x,y,z);
shading interp
view(-50,30)
camlight left
colormap([1 0 0])
fv=get(h0,'colormap');
ifv=fv;
p1=uicontrol('parent',h0,...
    'style','pushbutton',...
    'string','重置',...
    'position',[280 120 50 30],...
    'callback',[...
        'set(s1,''value'',ifv(1));,',...
        'set(s2,''value'',ifv(2));,',...
        'set(s3,''value'',ifv(3));,',...
        'set(h0,''colormap'',ifv)']);
p2=uicontrol('parent',h0,...
    'style','pushbutton',...
    'string','關(guān)閉',...
    'position',[280 60 50 30],...
    'callback','close');
s1=uicontrol('parent',h0,...
    'style','slider',...
    'min',0,...
    'max',1,...
    'value',fv(1),...
    'position',[20 150 200 20],...
    'callback',[...
        's1k=get(s1,''value'');,',...
        'fv(1)=s1k;,',...
        'set(h0,''colormap'',fv);']);
t1=uicontrol('parent',h0,...
    'style','text',...
    'string','改變紅色成分',...
    'position',[20 170 100 20]);
s2=uicontrol('parent',h0,...
    'style','slider',...
    'min',0,...
    'max',1,...
    'value',fv(2),...
    'position',[20 100 200 20],...
    'callback',[...
        's2k=get(s2,''value'');,',...
        'fv(2)=s2k;,',...
        'set(h0,''colormap'',fv);']);
t2=uicontrol('parent',h0,...
    'style','text',...
    'string','改變綠色成分',...
    'position',[20 120 100 20]);
s3=uicontrol('parent',h0,...
    'style','slider',...
    'min',0,...
    'max',1,...
    'value',fv(3),...
    'position',[20 50 200 20],...
    'callback',[...
        's3k=get(s3,''value'');,',...
        'fv(3)=s3k;,',...
        'set(h0,''colormap'',fv);']);
t1=uicontrol('parent',h0,...
    'style','text',...
    'string','改變藍(lán)色成分',...
    'position',[20 70 100 20]); 
實(shí)例52:可設(shè)置函數(shù)曲線圖視角的用戶界面

h0=figure('toolbar','none',...
    'position',[198 56 408 468],...
    'name','實(shí)例52');
h1=axes('parent',h0,...
    'position',[0.15 0.5 0.7 0.5],...
    'visible','off');
[x,y]=meshgrid(-8:0.5:8);
r=sqrt(x.^2+y.^2)+eps;
z=sin(r)./r;
fh=surf(x,y,z);
shading interp
view([-60 30])
fv=get(h1,'view');
fv2=fv;
camlight left
sh1=uicontrol('parent',h0,...
    'style','slider',...
    'max',1,...
    'min',-1,...
    'value',fv(1)/180,...
    'position',[20 150 200 20],...
    'callback',[...
        'fv(1)=90*get(sh1,''value'');,',...
        'set(h1,''view'',[fv(1) fv(2)]),',...
        'set(ed1,''string'',fv(1))']);   
text1=uicontrol('parent',h0,...
    'style','text',...
    'string','方位角的變化滑標(biāo)',...
    'position',[20 170 200 20]);
sh2=uicontrol('parent',h0,...
    'style','slider',...
    'max',1,...
    'min',-1,...
    'value',fv(2)/180,...
    'position',[20 90 200 20],...
    'callback',[...
        'fv(2)=90*get(sh2,''value'');,',...
        'set(h1,''view'',[fv(1) fv(2)]),',...
        'set(ed2,''string'',fv(2))']);
text2=uicontrol('parent',h0,...
    'style','text',...
    'string','仰角的變化滑標(biāo)',...
    'position',[20 110 200 20]);
ed1=uicontrol('parent',h0,...
    'style','edit',...
    'string',fv(1),...
    'position',[30 30 50 20]);
text3=uicontrol('parent',h0,...
    'style','text',...
    'string','方位角的數(shù)值',...
    'position',[20 50 80 20]);
ed2=uicontrol('parent',h0,...
    'style','edit',...
    'string',fv(2),...
    'position',[150 30 50 20]);
text4=uicontrol('parent',h0,...
    'style','text',...
    'string','仰角的數(shù)值',...
    'position',[135 50 80 20]);
pf1=uicontrol('parent',h0,...
    'style','pushbutton',...
    'string','重置',...
    'position',[280 120 50 30],...
    'callback',[...
        'set(h1,''view'',fv2),',...
        'set(sh1,''value'',fv2(1)/180),',...
        'set(sh2,''value'',fv2(2)/180),',...
        'set(ed1,''string'',fv2(1)),',...
        'set(ed2,''string'',fv2(2))']);
pf2=uicontrol('parent',h0,...
    'style','pushbutton',...
    'string','關(guān)閉',...
    'position',[280 60 50 30],...
    'callback','close'); 
實(shí)例53:可設(shè)置函數(shù)曲線光源的用戶界面

h0=figure('toolbar','none',...
    'position',[198 56 408 468],...
    'name','實(shí)例53');
h1=axes('parent',h0,...
    'position',[0.15 0.5 0.7 0.5],...
    'visible','off');
[x,y]=meshgrid(-8:0.5:8);
r=sqrt(x.^2+y.^2)+eps;
z=sin(r)./r;
fh=surf(x,y,z);
shading interp
view([-60 30])

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩黄色片在线观看| 久久精品一区二区三区不卡牛牛| 日本sm残虐另类| 欧美国产丝袜视频| 欧美二区三区的天堂| 成人av电影免费在线播放| 日韩精品1区2区3区| 亚洲人成影院在线观看| 精品欧美黑人一区二区三区| 欧美中文字幕一区二区三区亚洲| 国产精品中文字幕日韩精品| 日本特黄久久久高潮| **欧美大码日韩| 国产日韩欧美不卡| 日韩视频免费直播| 欧美体内she精视频| 成av人片一区二区| 国产美女在线精品| 日韩国产欧美视频| 亚洲一区二区三区美女| 亚洲欧美综合另类在线卡通| 久久久久久久久久久黄色| 欧美日本一区二区| 欧美亚洲国产一区二区三区va | 色香蕉成人二区免费| 国产成人综合亚洲91猫咪| 美女一区二区久久| 日韩电影免费一区| 偷拍一区二区三区四区| 亚洲一区二区影院| 亚洲精品写真福利| 中文字幕色av一区二区三区| 国产欧美一区二区三区沐欲| 26uuu国产日韩综合| 欧美一卡二卡三卡| 欧美一区2区视频在线观看| 3atv在线一区二区三区| 欧美精品乱码久久久久久按摩| 欧美性受极品xxxx喷水| 在线视频中文字幕一区二区| 色嗨嗨av一区二区三区| 91亚洲精华国产精华精华液| 91麻豆国产自产在线观看| 99久久伊人精品| 一本色道久久综合亚洲91| 91麻豆国产香蕉久久精品| 在线亚洲欧美专区二区| 欧美日韩国产成人在线91| 欧美精品 日韩| 欧美一级理论片| 欧美精品一区二区高清在线观看| 精品国产乱码久久久久久免费| 日韩午夜av电影| 久久一区二区视频| 日本一区二区成人在线| 亚洲欧美在线aaa| 一区二区三区色| 五月婷婷综合在线| 美女一区二区视频| 国产99精品国产| av中文字幕亚洲| 欧美日韩一卡二卡三卡| 日韩精品一区二区在线观看| 久久久99精品久久| 亚洲欧洲精品天堂一级| 偷偷要91色婷婷| 国内精品国产三级国产a久久| 国产aⅴ综合色| 欧美视频在线播放| 亚洲精品在线免费观看视频| 国产精品久久三| 无码av免费一区二区三区试看| 韩国女主播成人在线观看| aaa欧美色吧激情视频| 欧美日韩高清一区二区不卡| 精品国产亚洲在线| 国产精品国产三级国产三级人妇 | 精品国产免费久久| 国产精品国产三级国产a| 视频一区中文字幕国产| 国产精品综合av一区二区国产馆| caoporm超碰国产精品| 欧美精品在线一区二区| 中文字幕高清一区| 午夜视黄欧洲亚洲| 丰满放荡岳乱妇91ww| 777午夜精品视频在线播放| 国产日韩精品一区二区浪潮av| 一区二区三区中文在线| 国产高清成人在线| 欧美日韩免费一区二区三区| 久久久综合精品| 性久久久久久久| av在线不卡网| 26uuu另类欧美| 亚洲成在人线在线播放| 成人av网在线| 精品久久久影院| 亚洲国产色一区| 国产99久久久国产精品潘金| 欧美一区二区在线免费播放| 亚洲色图视频网| 国产一区二区不卡| 欧美日韩精品三区| 亚洲日本电影在线| 粉嫩av一区二区三区粉嫩| 日韩亚洲欧美一区二区三区| 亚洲综合视频在线| 91在线免费视频观看| 久久你懂得1024| 久久99热这里只有精品| 欧美日韩aaa| 亚洲狠狠爱一区二区三区| a级精品国产片在线观看| 久久久久久99久久久精品网站| 日韩激情一区二区| 精品视频1区2区3区| 亚洲欧美色综合| 99久久精品情趣| 国产精品天美传媒| 国产91精品入口| 久久久www成人免费毛片麻豆 | 91碰在线视频| 中文字幕在线视频一区| 国产精品一区二区三区99| 欧美本精品男人aⅴ天堂| 日韩高清在线电影| 91精品蜜臀在线一区尤物| 亚洲成人资源网| 欧美肥妇free| 日韩成人一级大片| 日韩网站在线看片你懂的| 毛片av一区二区| 日韩免费福利电影在线观看| 日本午夜一本久久久综合| 91精品国产综合久久精品app| 五月天久久比比资源色| 欧美高清性hdvideosex| 日韩电影在线一区二区三区| 欧美一级日韩不卡播放免费| 蜜桃视频一区二区| 亚洲精品一线二线三线| 国产精品18久久久| 国产精品久久久久久亚洲毛片| 成人福利视频在线| 亚洲美女免费在线| 欧美色精品在线视频| 日韩黄色片在线观看| 精品国产污污免费网站入口 | 欧美视频完全免费看| 视频一区欧美日韩| 精品精品欲导航| 成人中文字幕电影| 亚洲精品成人精品456| 欧美日韩亚洲综合一区二区三区| 亚洲成av人片| 精品国产青草久久久久福利| 国产精品乡下勾搭老头1| 亚洲欧洲日产国产综合网| 欧亚洲嫩模精品一区三区| 日韩激情一二三区| 欧美国产97人人爽人人喊| 日本道在线观看一区二区| 日韩av不卡在线观看| 久久久久久久久久久电影| 色综合一个色综合| 日日摸夜夜添夜夜添精品视频| 欧美精品一区二区三区一线天视频 | 亚洲国产精品自拍| 欧美xxxxxxxx| 91色在线porny| 蜜桃av一区二区在线观看| 国产精品丝袜一区| 7777精品久久久大香线蕉| 福利电影一区二区三区| 一区二区三区在线高清| 精品久久久久久久人人人人传媒| 成人在线一区二区三区| 日韩1区2区3区| 中文字幕中文乱码欧美一区二区| 91麻豆精品91久久久久同性| 成人18精品视频| 另类小说视频一区二区| 国产精品欧美久久久久无广告| 欧美日韩激情一区二区三区| 国产精品123| 天天综合天天做天天综合| 日本一区二区不卡视频| 欧美日韩国产一级片| av在线免费不卡| 国产美女在线观看一区| 午夜不卡av在线| 亚洲精品水蜜桃| 中文字幕国产一区二区| 日韩女优制服丝袜电影| 在线观看视频欧美| 成人精品高清在线| 久久精品72免费观看| 午夜精品视频在线观看| 最新欧美精品一区二区三区|