how can we plot data for particular lat, long from net. file in matlab

2 visualizaciones (últimos 30 días)
using below program i am getting plot for all lat, long.
clwcData = ncread('ciwc_july.nc','clwc');
Lon = ncread('ciwc_july.nc','longitude');
Lat = ncread('ciwc_july.nc','latitude');
Level = double(ncread('ciwc_july.nc','level'));
time = double(ncread('ciwc_july.nc','time'));
%%
% m = mean(mean(mean(clwcData(:,:,:,:),1),2),4);
% p= squeeze(m);
% plot(p,Level);
how can i plot for particular lat, long
  1 comentario
Walter Roberson
Walter Roberson el 18 de Dic. de 2019
masklon = Lon >= minimum_lon_to_plot & Lon <= maximum_lon_to_plot;
masklat = Lat >= minimum_lat_to_plot & Lat <= maximum_lat_to_plot;
ClwcData(mask_lon, mask_lat, :, :) %guessing about the order of variables

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by