How can i plot data from XLM file?

11 ビュー (過去 30 日間)
Jonathan Demmer
Jonathan Demmer 2022 年 3 月 9 日
コメント済み: Benjamin Thompson 2022 年 3 月 9 日
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
Benjamin Thompson 2022 年 3 月 9 日
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
Benjamin Thompson 2022 年 3 月 9 日
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 Center および File ExchangeStructured 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