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 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