Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
CIGALE
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
12
Issues
12
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
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
Show 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'
,
f
rameon
=
False
)
#, f
ancybox=True, framealpha=0.5)
ax2
.
legend
(
fontsize
=
6
,
loc
=
'best'
,
f
rameon
=
False
)
#, f
ancybox=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