city in europe

4 visualizzazioni (ultimi 30 giorni)
E Rodriguez
E Rodriguez il 3 Ott 2011
Risposto: BhaTTa il 5 Gen 2025
I have to make the map of Paris in one general plot of Europe. I have a mapping toolbox someone can give one idea how to do it.

Risposte (1)

BhaTTa
BhaTTa il 5 Gen 2025
I assume that make the map of Paris in one general plot of Europe, please refer to the below code:
% Create a map of Europe with Paris highlighted using MATLAB
% Create a figure
figure;
% Set up the map for Europe
worldmap('Europe');
load coastlines;
plotm(coastlat, coastlon);
% Coordinates for Paris
latParis = 48.8566;
lonParis = 2.3522;
% Plot Paris
hold on;
plotm(latParis, lonParis, 'ro', 'MarkerSize', 10, 'MarkerFaceColor', 'r');
textm(latParis, lonParis, ' Paris', 'FontSize', 10, 'Color', 'r');
% Add a title
title('Map of Europe with Paris Highlighted');

Categorie

Scopri di più su Schedule Model Components in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by