How can i plot data from XLM file?

16 views (last 30 days)
Jonathan Demmer
Jonathan Demmer on 9 Mar 2022
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

Answers (1)

Benjamin Thompson
Benjamin Thompson on 9 Mar 2022
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 Comments
Jonathan Demmer
Jonathan Demmer on 9 Mar 2022
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 on 9 Mar 2022
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.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!