当前位置: 首页 > news >正文

现在网站建设都用什么语言邓砚谷电子商务网站建设

现在网站建设都用什么语言,邓砚谷电子商务网站建设,长春网站排名优化报价,著名企业vi设计目录 要点 基本语句 EraseMode 习题 1 设置颜色 2 旋转蕨型叶图 3 枝干 4 塞平斯基三角形 要点 蕨型叶是通过一个点的反复变换产生的#xff0c;假设x是一个含有两个分量的向量#xff0c;可以用来表示平面内的一个点#xff0c;则可以用Axb的形式对其进行变换。 基本…目录 要点 基本语句 EraseMode 习题 1 设置颜色 2 旋转蕨型叶图 3 枝干 4 塞平斯基三角形 要点 蕨型叶是通过一个点的反复变换产生的假设x是一个含有两个分量的向量可以用来表示平面内的一个点则可以用Axb的形式对其进行变换。 基本语句 语句darkgreen[0 2/3 0]设置深绿色的颜色变量在matlab中用红绿蓝分量来表示颜色这里将绿色分量设置为2/3其余为0。 采用animatedline来绘制蕨型叶h为蕨型叶图形的句柄。 function fern_ashgclf resetset(gcf,color,white,menubar,none, ...numbertitle,off,name,Fractal Fern)x [.5; .5];h animatedline(Marker, ., LineStyle, none, Color, [0 2/3 0]);axis([-3 3 0 10])axis off %不显示坐标轴只显示叶子本身stop uicontrol(style,toggle,string,stop, ...background,white);drawnow %绘制p [ .85 .92 .99 1.00];A1 [ .85 .04; -.04 .85]; b1 [0; 1.6];A2 [ .20 -.26; .23 .22]; b2 [0; 1.6];A3 [-.15 .28; .26 .24]; b3 [0; .44];A4 [ 0 0 ; 0 .16];cnt 1; %将计数器的初始值设置为1ticwhile ~get(stop,value)r rand;if r p(1)x A1*x b1;elseif r p(2)x A2*x b2;elseif r p(3)x A3*x b3;elsex A4*x;endaddpoints(h, x(1), x(2));drawnow %重新绘制图形cnt cnt 1; %生成新的点后计数器的数值自增1endt toc; %读取秒表数据s sprintf(%8.0f points in %6.3f seconds,cnt,t);text(-1.5,-0.5,s,fontweight,bold);set(stop,style,pushbutton,string,close,callback,close(gcf)) endEraseMode EraseMode 属性不再受支持而且在以后的版本中会出错。 初始语句 h plot(x(1),x(2),.); darkgreen [0 2/3 0]; set(h,markersize,1,color,darkgreen,erasemode,none); 修改后 h animatedline(Marker, ., LineStyle, none, Color, [0 2/3 0]); 习题 1 设置颜色 在MATLAB中颜色可以使用多种方式来表示其中一种常用的方式是使用RGBRed-Green-Blue表示法。在RGB表示法中每个颜色的红、绿、蓝三个分量的取值范围为0到1表示颜色的深浅程度。 function fern_ashgclf resetset(gcf,color,black,menubar,none, ...numbertitle,off,name,Fractal Fern)x [.5; .5];h animatedline(Marker, ., LineStyle, none, Color, [1 0.75 0.8]);axis([-3 3 0 10])axis offstop uicontrol(style,toggle,string,stop, ...background,black,ForegroundColor,white);drawnowp [ .85 .92 .99 1.00];A1 [ .85 .04; -.04 .85]; b1 [0; 1.6];A2 [ .20 -.26; .23 .22]; b2 [0; 1.6];A3 [-.15 .28; .26 .24]; b3 [0; .44];A4 [ 0 0 ; 0 .16];cnt 1;ticwhile ~get(stop,value)r rand;if r p(1)x A1*x b1;elseif r p(2)x A2*x b2;elseif r p(3)x A3*x b3;elsex A4*x;endaddpoints(h, x(1), x(2));drawnowcnt cnt 1;endt toc;s sprintf(%8.0f points in %6.3f seconds,cnt,t);text(-1.5,-0.5,s,fontweight,bold,Color,red);set(stop,style,pushbutton,string,close,callback,close(gcf)) end2 旋转蕨型叶图 %修改坐标 addpoints(h, x(2), x(1));%修改标注位置 s sprintf(%8.0f points in %6.3f seconds,cnt,t); text(2.5,-2.9,s,fontweight,bold,Color,red); 3 枝干 A4 [0, 0; 0, 0.16]; %修改为 A4 [0, 0; 0, 0.08]; %这将使得蕨型叶的枝干更加瘦长 蕨型叶的起始点均为(0,0)。 4 塞平斯基三角形 function sierpinski_triangle_ashgclf resetset(gcf, color, white, menubar, none, ...numbertitle, off, name, Fractal Sierpinski Triangle)x [.5; sqrt(3)/6];h animatedline(Marker, ., LineStyle, none, Color, [0 2/3 0]);axis([0 1 0 sqrt(3)/2])axis offstop uicontrol(style, toggle, string, stop, ...background, white);hold onplot([0, 1, 0.5, 0], [0, 0, sqrt(3)/2, 0], k-*); % 绘制三角形的顶点drawnowA1 [0.5, 0; 0, 0.5]; b1 [0; 0];A2 [0.5, 0; 0, 0.5]; b2 [0.5; 0];A3 [0.5, 0; 0, 0.5]; b3 [0.25; sqrt(3)/4];cnt 1;ticwhile ~get(stop, value)r rand;if r 1/3x A1 * x b1;elseif r 2/3 r1/3x A2 * x b2;elsex A3 * x b3;endaddpoints(h, x(1), x(2));drawnowcnt cnt 1;endt toc;s sprintf(%8.0f points in %6.3f seconds, cnt, t);text(0.25, -0.05, s, fontweight, bold);set(stop, style, pushbutton, string, close, callback, close(gcf)) end
http://www.w-s-a.com/news/205029/

相关文章:

  • 网站开发 平均工资商标注册在哪个部门申请
  • 做外贸需要自己的网站吗营销型网站建设市场分析
  • 绍兴网站制作推广wordpress 无法自动升级
  • 阿里云建站数据库用什么app制作开发费用多少
  • 中国住房和城乡建设部网站资质查询中小开网站
  • 交易所网站开发水果营销软文
  • 石家庄有什么好玩的地方2017织梦网站怎么做seo
  • wordpress项目插件seo的含义
  • 网站平台建设的作用电影宣传类网页界面设计
  • 户外网站模板国外优秀的平面设计网站
  • 家政网站怎么做网站机房建设方案
  • 学校网站建设运行情况2022年近期舆情热点话题
  • 做淘宝需要知道什么网站吗有没有做软件的网站
  • 安丘网站建设制作做网站和微信小程序
  • 京东网站的建设与发展前景黑龙江建设网官网登陆
  • soho的网站怎么做微网站平台建设方案
  • 网站开发下载阿里云oss做视频网站
  • 东莞营销网站制作做一个网站建设
  • 啥网站都能看的浏览器下载网站后台管理系统展望
  • 新建站点步骤汉中 wordpress联盟
  • 坪山网站设计的公司网站 seo 设置
  • 济南网站设计公司排名如何免费注册网站域名
  • 网站开发分工甜妹妹福利wordpress
  • 网站中英文要怎么做网站建设的策划文案
  • 合肥推广外包公司佛山seo
  • 成都网站品牌设计策划课堂网站开发
  • 做直播网站赚钱公司网站空间怎么续费
  • 企业网站制作公司有哪些太原网站建设 thinkphp3.2
  • 云集网站哪个公司做的百度竞价排名怎么做
  • 做网站公司赚钱吗网站建设英语翻译