Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Caillat Michel
yafits
Commits
9d8d0181
Commit
9d8d0181
authored
Dec 17, 2019
by
Moreau Nicolas
Browse files
show cursor position on x axis
parent
14214d27
Changes
1
Hide whitespace changes
Inline
Side-by-side
yafitsv/views/olqv.ejs
View file @
9d8d0181
...
...
@@ -1186,13 +1186,13 @@ var SAMPPNGPublishControl = (function (Control) {
toptitle
=
""
;
}
else
if
(
_origin
.
startsWith
(
"
CASA
"
))
{
xtitle
=
"
Frequency (G
h
z) -
"
+
_specsys
;
xtitle
=
"
Frequency (G
H
z) -
"
+
_specsys
;
ytitle
=
"
Flux density (
"
+
_bunit
+
"
)
"
;
coeff
=
Math
.
PI
/
180
.
/
4.86
e
-
6
;
toptitle
=
"
B:
"
+
round
(
_bmaj
*
coeff
,
1
)
+
"
x
"
+
round
(
_bmin
*
coeff
,
1
)
+
"
PA
"
+
round
(
_bpa
,
0
)
+
"
°
"
;
}
else
if
(
_origin
.
startsWith
(
"
GILDAS
"
))
{
xtitle
=
"
Frequency (G
h
z)
"
;
xtitle
=
"
Frequency (G
H
z)
"
;
ytitle
=
"
Flux density (
"
+
_bunit
+
"
)
"
;
toptitle
=
""
;
}
...
...
@@ -1568,6 +1568,7 @@ var SAMPPNGPublishControl = (function (Control) {
title
:
{
text
:
xtitle
},
crosshair
:
true
,
reversed
:
true
,
events
:
{
setExtremes
:
function
(
event
){
...
...
@@ -1784,6 +1785,7 @@ var SAMPPNGPublishControl = (function (Control) {
title
:
{
text
:
xtitle
},
crosshair
:
true
,
reversed
:
false
,
},
yAxis
:
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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