How can i plot data from XLM file?

10 次查看(过去 30 天)
close all
clear all
clc
cd ('E:\publi\Waiting-room\Matt_paper_hydrogen\data_vessel_emodnet\');
S = readstruct("EMODnet_HA_Vessel_Density_Map_20210325_MD.xml");
Hi,
I am trying to plot a map from data that I downloaded into .xml file. I managed to see the structure of it. However, I dont know how to plot the data.
Unfortunately, I cant copy the file in here, but data can be access here: https://www.emodnet-humanactivities.eu/search-results.php?dataname=Vessel+Density+
Can someone help me please?
Cheers
Jonathan

回答(1 个)

Benjamin Thompson
Here is an example that may be helpful. If you can post your sample code that loads and displays your map, along iwth the XML file itself and any work you have done for loading it, then the community may be able to give a better answer.
  2 个评论
Jonathan Demmer
Jonathan Demmer 2022-3-9
My problem is that I dont know how to write the code to display the map with the xml file. Also I cnat copy the xml file here.
Benjamin Thompson
If the XML file is too large, then post an example that has the important information but just less of it. If you have the Mapping Toolbox please look over the examples included with the toolbox and try to implement one with your map. Then ask some specific questions and post your code.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Structured Data and XML Documents 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by