Skip to content

Commit

Permalink
Revert back to using full Def on graph legend
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbanks committed Mar 1, 2012
1 parent 7689846 commit 612abf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CpiPlot.hs
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ plotTimeSeriesFiltered :: LA.Vector Double -> LA.Matrix Double -> [Species] -> [
plotTimeSeriesFiltered ts soln ss ss'
= plot
(LA.toList ts)
(filter (\(s,_)-> s `elem` (map specName ss'))
(zip (map specName ss) (map LA.toList (LA.toColumns soln))))
(filter (\(s,_)-> s `elem` (map pretty ss'))
(zip (map pretty ss) (map LA.toList (LA.toColumns soln))))

plot :: [Double] -> [(String,[Double])] -> IO ()
-- Plots the time series in a GTK window
Expand Down

0 comments on commit 612abf2

Please sign in to comment.