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

做网站系统的答辩ppt范文网站开发a — ajax

做网站系统的答辩ppt范文,网站开发a — ajax,中国空间站天宫课堂,中铁建设集团北京工程有限公司matlab读取CMEMS海洋温度数据并调整图片的比例 matlab读取CMEMS海洋温度数据并调整图片的比例 matlab读取CMEMS海洋温度数据并调整图片的比例 数据的下载见上期: 链接到CMEMS数据下载{python} 本文还会给出另一个关键技巧: 通常设置图片比列直接可以通过…

matlab读取CMEMS海洋温度数据并调整图片的比例

matlab读取CMEMS海洋温度数据并调整图片的比例
matlab读取CMEMS海洋温度数据并调整图片的比例
数据的下载见上期:
链接到CMEMS数据下载{python}
本文还会给出另一个关键技巧:
通常设置图片比列直接可以通过

set(picture,'position',[10 20 3*300,2*300])

但在海图中此设置不起作用。
而需要通过调用函数设置:

daspect([0.8 1 1])  % 设置 X:Y:Z 比例为 2:1:1

直观感受不同比列的图片
图片在这里插入图片描述

图片在这里插入图片描述

图片
在这里插入图片描述

数据的读取:

clear;clc;close all;
%%  step _ 01 read data and get ano data
ncdisp 'cmems_mod_glo_phy_my_0.083deg-climatology_P1M-m_1742636563411.nc'
file = 'cmems_mod_glo_phy_my_0.083deg-climatology_P1M-m_1742636563411.nc';
lon = double(ncread(file,'longitude'));
lat = double(ncread(file,'latitude'));
thetao = squeeze(ncread(file,'thetao'));
数据的画图close all
figure('position',[10 3 650 350],'color','w');
set(gcf,'Position',[100,100,1200,800]);
m_proj('miller','lon',[-180 180],'lat',[-90 90 ]);
m_pcolor(lon,lat,thetao')
shading interp
colormap(jet)
colorbar;
hold on
[C,h]=m_contour(lon,lat,thetao',[0:10:30]);
set(h,'ShowText','on','linestyle','-','Color', 'r','LineWidth',1.5);%显示等值线 ,'TextList',mylabel
clabel(C,h,'fontsize',12,'color','k','LabelSpacing',4000) ;
% m_gshhs_f('patch',[0.7 0.7 0.7],'edgecolor','k','linewidth',1.2);
m_coast('patch',[0.7 0.7 0.7],'edgecolor','k','linewidth',1.2);
m_grid('linest','-.','xtick',8,'ytick',5,'tickdir','in','linewidth',2,'FontName','Times new roman','FontSize',16,'color','k','box','on','fontweight','bold')
title('Aspect ratio is default','FontName','Times new roman','FontSize',16,'color','k','fontweight','bold')
export_fig('read_cmems_ratio_original.jpg','-r300')
% 调整比例
title('Aspect ratio is 0.8:1','FontName','Times new roman','FontSize',16,'color','k','fontweight','bold')
比例的调整daspect([0.8 1 1])  % 设置 X:Y:Z 比例为 2:1:1
图片的输出export_fig('read_cmems_ratio_1.jpg','-r300')
全部的代码:
clear;clc;close all;
%%  step _ 01 read data and get ano data
ncdisp 'cmems_mod_glo_phy_my_0.083deg-climatology_P1M-m_1742636563411.nc'
file = 'cmems_mod_glo_phy_my_0.083deg-climatology_P1M-m_1742636563411.nc';
lon = double(ncread(file,'longitude'));
lat = double(ncread(file,'latitude'));
thetao = squeeze(ncread(file,'thetao'));close all
figure('position',[10 3 650 350],'color','w');
set(gcf,'Position',[100,100,1200,800]);
m_proj('miller','lon',[-180 180],'lat',[-90 90 ]);
m_pcolor(lon,lat,thetao')
shading interp
colormap(jet)
colorbar;
hold on
[C,h]=m_contour(lon,lat,thetao',[0:10:30]);
set(h,'ShowText','on','linestyle','-','Color', 'r','LineWidth',1.5);%显示等值线 ,'TextList',mylabel
clabel(C,h,'fontsize',12,'color','k','LabelSpacing',4000) ;
% m_gshhs_f('patch',[0.7 0.7 0.7],'edgecolor','k','linewidth',1.2);
m_coast('patch',[0.7 0.7 0.7],'edgecolor','k','linewidth',1.2);
m_grid('linest','-.','xtick',8,'ytick',5,'tickdir','in','linewidth',2,'FontName','Times new roman','FontSize',16,'color','k','box','on','fontweight','bold')
title('Aspect ratio is default','FontName','Times new roman','FontSize',16,'color','k','fontweight','bold')
export_fig('read_cmems_ratio_original.jpg','-r300')
% 调整比例
title('Aspect ratio is 0.8:1','FontName','Times new roman','FontSize',16,'color','k','fontweight','bold')daspect([0.8 1 1])  % 设置 X:Y:Z 比例为 2:1:1export_fig('read_cmems_ratio_1.jpg','-r300')
% 调整比例
% 调整比例
title('Aspect ratio is 0.5:1','FontName','Times new roman','FontSize',16,'color','k','fontweight','bold')daspect([0.5 1 1])  % 设置 X:Y:Z 比例为 2:1:1export_fig('read_cmems_ratio_2.jpg','-r300')
% 调整比例
title('Aspect ratio is 1:1','FontName','Times new roman','FontSize',16,'color','k','fontweight','bold')% 调整比例
daspect([1 1 1])  % 设置 X:Y:Z 比例为 2:1:1export_fig('read_cmems_ratio_3.jpg','-r300')
% 调整比例
title('Aspect ratio is 1:1.5','FontName','Times new roman','FontSize',16,'color','k','fontweight','bold')% 调整比例
daspect([1 1.5 1])  % 设置 X:Y:Z 比例为 2:1:1export_fig('read_cmems_ratio_4.jpg','-r300')
% 调整比例
title('Aspect ratio is 1:2','FontName','Times new roman','FontSize',16,'color','k','fontweight','bold')% 调整比例
daspect([1 2 1])  % 设置 X:Y:Z 比例为 2:1:1export_fig('read_cmems_ratio_5.jpg','-r300')
http://www.dtcms.com/wzjs/805217.html

相关文章:

  • 东莞网站建设提供商视频网站内容规划
  • 企业网站建设成本邢台做网站服务商
  • 呼和浩特建站北京搬家公司哪家最好
  • wordpress中文版主题宁波百度seo点击软件
  • 外贸哪个职位最吃香关键词排名优化怎么做
  • 徐州市建设局招投标网站眼科医院网站设计怎么做6
  • 福田建网站公司互联网科技网站
  • 交互网站 百度成都网站建设公司高新
  • 潍坊网站模板建站网站设计布局
  • 做校园网站网页设计中界面设计尺寸为
  • 研磨 东莞网站建设山西临汾建设局网站
  • php 企业网站cms门户网站建设资质
  • 网站开发平台及常用的开发工具厦门百度关键词seo收费
  • soho外贸建站wordpress迁移ghost
  • 基于php mysql的网站开发个人网站域名取名
  • wap手机网站建站怎么制作游戏需要什么软件
  • 手机版网站嵌入代码网页制作程序代码
  • 静态网站的短处手机网站开发框架php
  • 乡村两级先锋网站建设推广搜索怎么选关键词
  • 高校门户网站建设优秀文创产品设计案例及分析
  • 计算机网站建设建模培训
  • 如何创建平台类网站合肥万户网站建设
  • 建网站是自己做还是用CMS局域网安装wordpress
  • 株洲市荷塘区城乡建设局网站地方门户源码
  • js网站特效小偷程序做的网站能用吗
  • 张家口网站建设假冒网站能通过备案登记吗
  • 南宁专业网站制作前十排名东莞网站建设 乐云seo
  • 北京网站制作公司转型方向企业名称预先核准通知书
  • 上海网站建设案例新浪博客seo
  • 哪个网站可以接程序项目来做wordpress装修门户