Skip to main content
13 events
when toggle format what by license comment
Nov 10, 2014 at 22:25 history closed Szabolcs
Öskå
m_goldberg
bobthechemist
RunnyKine
Duplicate of Changing the background color of the framed region of a plot
Nov 10, 2014 at 20:09 review Close votes
Nov 10, 2014 at 22:25
May 23, 2014 at 19:21 history tweeted twitter.com/#!/StackMma/status/469921073421901824
May 23, 2014 at 14:39 comment added Jens One of the two questions here is a duplicate of: Changing the background color of a framed plot.
May 23, 2014 at 12:56 history edited Kuba CC BY-SA 3.0
added 6 characters in body; edited tags; edited title
May 23, 2014 at 12:55 vote accept eldo
May 23, 2014 at 12:54 answer added m_goldberg timeline score: 4
May 23, 2014 at 12:54 vote accept eldo
May 23, 2014 at 12:55
May 23, 2014 at 12:47 history edited Öskå CC BY-SA 3.0
Fixed the code so it fits the image
May 23, 2014 at 12:43 answer added Alexei Boulbitch timeline score: 3
May 23, 2014 at 12:37 comment added Boson This is not elegant but it works...: 1. Generate your background: data = {13, 6, 2, 2, 3}; background = RegionPlot[x y <= Length[data] Max[data], {x, 1, Length[data]}, {y, 0, Max[data]}, PlotStyle -> [email protected]]; 2. Display it together with your plot (implementing Öskå's suggestion): Labeled[ Show[background, ListLinePlot[data,AxesOrigin -> {1, 0},GridLines -> None, ImageSize -> 300, ImageMargins -> 0]],"XYZ", {{Top, Right}}].
May 23, 2014 at 12:34 answer added Kuba timeline score: 10
May 23, 2014 at 12:18 history asked eldo CC BY-SA 3.0