Skip to content

Commit 04bc518

Browse files
committed
come
1 parent 29c47db commit 04bc518

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

gallery/ex03.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,13 @@ samp_ship_pg = sample1d(D, range=samp_x)
4848

4949
# Now to do the cross-spectra, assuming that the ship is the input and the sat is the output
5050
# data, we do this:
51-
D = spectrum1d([samp_ship_pg[:,2] samp_sat_pg[:,2]], size=256, sample_dist=1, wavelength=true, outputs=(:xpower, :ypower, :coherence))
51+
D = spectrum1d([samp_ship_pg[:,2] samp_sat_pg[:,2]], size=256, sample_dist=1,
52+
wavelength=true, outputs=(:xpower, :ypower, :coherence))
5253

5354
# Time to plot spectra
5455
subplot(grid=(2,1), margins="0.3c", col_axes=(bott=true, label="Wavelength (km)"),
5556
autolabel=(anchor=:TR, offset="8p"), title="Ship and Satellite Gravity",
56-
panel_size=10, frame=(axes="WeSn", bg="240/255/240"), Vd=1)
57+
panel_size=10, frame=(axes="WeSn", bg="240/255/240"))
5758
gmtset(FONT_TAG="18p,Helvetica-Bold",)
5859

5960
subplot(:set, panel=(1,1), autolabel="Input Power")

gallery/ex25.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ coast!(shore=:thinnest, area=500)
6161
# Place an explanatory legend below
6262
legend!(pos=(anchor=:BC, width=10), box=(pen=:thick,), yshift=-1.0, par=(:FONT_ANNOT_PRIMARY,7),
6363
text_record(["N 3"
64-
@sprintf("S 0.3 s 0.25 red 0.25p 0.5 Terrestrial Antipodes [%d %%]", land.data[1])
65-
@sprintf("S 0.3 s 0.25 blue 0.25p 0.5 Oceanic Antipodes [%d %%]", ocean.data[1])
66-
@sprintf("S 0.3 s 0.25 gray 0.25p 0.5 Mixed Antipodes [%d %%]", mixed.data[1])]), show=true)
64+
string("S 0.3 s 0.25 red 0.25p 0.5 Terrestrial Antipodes [", land.data[1], " %]", )
65+
string("S 0.3 s 0.25 blue 0.25p 0.5 Oceanic Antipodes [", ocean.data[1], " %]", )
66+
string("S 0.3 s 0.25 gray 0.25p 0.5 Mixed Antipodes [", mixed.data[1], " %]", )]), show=true)
6767
```
6868
\end{examplefig}

0 commit comments

Comments
 (0)