Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
cigale
CIGALE
Commits
7eea2752
Commit
7eea2752
authored
Mar 05, 2019
by
Rodrigo González-Castillo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Styling plot: Set tick to be inside. Minor changes in labels.
parent
a862f5b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
pcigale_plots/plot_types/sed.py
pcigale_plots/plot_types/sed.py
+8
-5
No files found.
pcigale_plots/plot_types/sed.py
View file @
7eea2752
...
...
@@ -283,6 +283,9 @@ def _sed_worker(obs, mod, filters, sed_type, logo, xrange, yrange, series, forma
ax2
.
set_xscale
(
'log'
)
ax2
.
minorticks_on
()
ax1
.
tick_params
(
direction
=
'in'
,
axis
=
'both'
,
which
=
'both'
,
top
=
True
,
left
=
True
,
right
=
True
,
bottom
=
False
)
ax2
.
tick_params
(
direction
=
'in'
,
axis
=
'both'
,
which
=
'both'
,
right
=
True
)
figure
.
subplots_adjust
(
hspace
=
0.
,
wspace
=
0.
)
ax1
.
set_xlim
(
xmin
,
xmax
)
...
...
@@ -318,11 +321,11 @@ def _sed_worker(obs, mod, filters, sed_type, logo, xrange, yrange, series, forma
ax1
.
set_ylabel
(
"Luminosity [W]"
)
ax2
.
set_ylabel
(
"Relative residual luminosity"
)
else
:
ax2
.
set_xlabel
(
"Observed
wavelength [
$\mu$m
]
"
)
ax1
.
set_ylabel
(
"
Flux [
mJy
]
"
)
ax2
.
set_ylabel
(
"Relative residual
flux
"
)
ax1
.
legend
(
fontsize
=
6
,
loc
=
'best'
,
fancybox
=
True
,
framealpha
=
0.5
)
ax2
.
legend
(
fontsize
=
6
,
loc
=
'best'
,
fancybox
=
True
,
framealpha
=
0.5
)
ax2
.
set_xlabel
(
"Observed
$\lambda$ (
$\mu$m
)
"
)
ax1
.
set_ylabel
(
"
S$_
\\
nu$ (
mJy
)
"
)
ax2
.
set_ylabel
(
"Relative residual
S$_
\\
nu$
"
)
ax1
.
legend
(
fontsize
=
6
,
loc
=
'best'
,
frameon
=
False
)
#,
fancybox=True, framealpha=0.5)
ax2
.
legend
(
fontsize
=
6
,
loc
=
'best'
,
frameon
=
False
)
#,
fancybox=True, framealpha=0.5)
plt
.
setp
(
ax1
.
get_xticklabels
(),
visible
=
False
)
plt
.
setp
(
ax1
.
get_yticklabels
()[
1
],
visible
=
False
)
figure
.
suptitle
(
"Best model for {} at z = {}. Reduced $\chi^2$={}"
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment