Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
c5c05c40
Commit
c5c05c40
authored
Dec 04, 2013
by
Matthieu Muffato
Browse files
Removed the option to use a logscale axis, and added a grid in the background
parent
4b997c5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
scripts/generate_timeline.pl
scripts/generate_timeline.pl
+4
-4
No files found.
scripts/generate_timeline.pl
View file @
c5c05c40
...
...
@@ -29,7 +29,7 @@ exit(0);
sub
main
{
my
(
$url
,
$reg_conf
,
$reg_type
,
$reg_alias
,
$nosqlvc
,
$help
,
$verbose
,
$mode
,
$start_date
,
$end_date
,
$output
,
$top
,
$logscale
,
$default_memory
,
$default_cores
);
my
(
$url
,
$reg_conf
,
$reg_type
,
$reg_alias
,
$nosqlvc
,
$help
,
$verbose
,
$mode
,
$start_date
,
$end_date
,
$output
,
$top
,
$default_memory
,
$default_cores
);
GetOptions
(
# connect to the database:
...
...
@@ -46,7 +46,6 @@ sub main {
'
end_date=s
'
=>
\
$end_date
,
'
mode=s
'
=>
\
$mode
,
'
top=f
'
=>
\
$top
,
'
log=i
'
=>
\
$logscale
,
'
mem=i
'
=>
\
$default_memory
,
'
n_core=i
'
=>
\
$default_cores
,
'
output=s
'
=>
\
$output
,
...
...
@@ -271,7 +270,7 @@ sub main {
my
@datasets
=
();
my
$pseudo_zero_value
=
$logscale
?
.8
:
-
$max_workers
/
50
;
my
$pseudo_zero_value
=
-
$max_workers
/
50
;
# The background plot: the sum of all the analysis
if
(
$need_other_analysis
)
{
...
...
@@ -321,16 +320,17 @@ sub main {
},
xtics
=>
{
labelfmt
=>
'
%b %d\n %H:00
',
along
=>
'
out nomirror
',
},
bg
=>
{
color
=>
'
white
',
},
grid
=>
'
on
',
imagesize
=>
'
1400, 800
',
output
=>
$output
,
terminal
=>
$terminal_mapping
{
$gnuplot_terminal
},
ylabel
=>
$allowed_modes
{
$mode
},
yrange
=>
[
$pseudo_zero_value
,
undef
],
$logscale
?
(
logscale
=>
'
y
')
:
(),
);
$chart
->
plot2d
(
@datasets
);
...
...
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