Skip to content

Commit

Permalink
All worldmaps saved as vector svg graphics
Browse files Browse the repository at this point in the history
Note that <fig2svg> did not work, but <export_fig -svg> did indeed.
  • Loading branch information
beddalumia committed Aug 15, 2022
1 parent 5cc915c commit 955fdce
Show file tree
Hide file tree
Showing 8 changed files with 88,981 additions and 2,048 deletions.
18,859 changes: 17,841 additions & 1,018 deletions brewer/resources/worldmap_brewer.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 2 additions & 6 deletions cmocean/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ The above table, showing all the colormaps defined in the package, can be retrie
surfc(X,Y,Z+4)
palette.cmocean('curl','pivot',4) % recenter the color-axis
```
![surfc](resources/peaks.png)
------------------------
🚧🚧🚧 Work ⚠️ in 🪜 Progress 🚧🚧🚧🚧🚧🚧
![surfc](resources/peaks.png)
```matlab
% A trick to deal with nasty CONTOURCMAP function (Mapping Toolbox):
preset_palette(@palette.cmocean, 'topo'); % preselect the colorscheme.
Expand All @@ -39,11 +37,9 @@ The above table, showing all the colormaps defined in the package, can be retrie
plotm(coastlat, coastlon, 'k');
contourcmap('preset_palette', 'Colorbar','on', 'Location','horizontal',...
'TitleString','Contour Intervals in Meters'); % Et Voilà...
% -> we have applied our beautiful colormap through the preset function!
% -> we have applied the topo colormap through the preset function!
```
![topo](resources/worldmap_cmocean.svg)
🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧
----------------------------------
```matlab
% Plot and compare RGB values:
ax(1) = subplot(1,2,1);
Expand Down
17,762 changes: 17,762 additions & 0 deletions cmocean/resources/worldmap_cmocean.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 1 addition & 5 deletions crameri/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ The above table, showing all the continuous colormaps defined in the package, ca
surfc(X,Y,Z+4)
palette.crameri('bam','pivot',4) % recenter the color-axis
```
![surfc](resources/surfc_bam.png)
------------------------
🚧🚧🚧 Work ⚠️ in 🪜 Progress 🚧🚧🚧🚧🚧🚧
![surfc](resources/surfc_bam.png)
```matlab
% A trick to deal with nasty CONTOURCMAP function (Mapping Toolbox):
preset_palette(@palette.crameri, 'oleron'); % preselect the colorscheme.
Expand All @@ -45,8 +43,6 @@ The above table, showing all the continuous colormaps defined in the package, ca
% -> we have applied our beautiful colormap through the preset function!
```
![oleron](resources/worldmap_crameri.svg)
🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧
----------------------------------
```matlab
% Plot and compare RGB values:
ax(1) = subplot(1,3,1);
Expand Down
17,843 changes: 17,843 additions & 0 deletions crameri/resources/worldmap_crameri.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18,734 changes: 17,717 additions & 1,017 deletions cubehelix/resources/worldmap_helix.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions matplotlib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Note that the package delivers only a subset of all matplotlib's colorscheme, na
surfc(X,Y,Z)
colormap(palette.twilight_shifted) % shifted to have white at zero
```
![surfc_twilight](resources/surfc_twilight.png)
```matlab
% A trick to deal with nasty CONTOURCMAP function (Mapping Toolbox):
preset_palette(@palette.viridis); % preselect the colorscheme.
Expand All @@ -34,10 +35,9 @@ Note that the package delivers only a subset of all matplotlib's colorscheme, na
plotm(coastlat, coastlon, 'k');
contourcmap('preset_palette', 'Colorbar','on', 'Location','horizontal',...
'TitleString','Contour Intervals in Meters'); % Et Voilà...
% -> we have applied our beautiful colormap through the preset function!
% -> we have applied the viridis colormap through the preset function!
```
![world](resources/worldmap_viridis.svg)
![surfc_twilight](resources/surfc_twilight.png)
```matlab
% Plot and compare RGB values:
ax(1) = subplot(1,2,1);
Expand Down
17,813 changes: 17,813 additions & 0 deletions matplotlib/resources/worldmap_viridis.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 955fdce

Please sign in to comment.