Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cigale
CIGALE
Commits
a62a29bd
Commit
a62a29bd
authored
Apr 07, 2014
by
Médéric Boquien
Browse files
Models and observations were inverted in the plots.
parent
59052aaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
pcigale_plots/__init__.py
View file @
a62a29bd
...
...
@@ -115,9 +115,9 @@ def _sed_worker(obs, mod, filters):
ax
=
figure
.
add_subplot
(
111
)
ax
.
loglog
(
sed
[
'wavelength'
][
wsed
],
sed
[
'F_nu'
][
wsed
],
label
=
"Model spectrum"
,
color
=
'k'
)
ax
.
scatter
(
filters_wl
,
obs
_fluxes
,
marker
=
'o'
,
color
=
'r'
,
ax
.
scatter
(
filters_wl
,
mod
_fluxes
,
marker
=
'o'
,
color
=
'r'
,
label
=
"Model fluxes"
)
ax
.
scatter
(
filters_wl
,
mod
_fluxes
,
marker
=
'o'
,
color
=
'b'
,
ax
.
scatter
(
filters_wl
,
obs
_fluxes
,
marker
=
'o'
,
color
=
'b'
,
label
=
"Observed fluxed"
)
ax
.
set_xlim
(
xmin
,
xmax
)
ax
.
set_xlabel
(
"Wavelength [nm]"
)
...
...
Write
Preview
Supports
Markdown
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