[R] Visualising multiple temporal periods each with an associated value
drjimlemon at gmail.com
Tue Aug 9 02:04:30 CEST 2016
If I understand what you want, it seems to be a combination of a Gantt
chart and a sizetree. The Gantt chart provides the horizontal extent
of the rectangles and the sizetree the vertical extent by assigning
relative heights to the initial rectangles and dividing these into
subsets as time evolves. That approach would not allow rectangles to
expand over time, but that could be accommodated. It's more
complicated than either of the two, but I think it can be done.
On Tue, Aug 9, 2016 at 8:19 AM, Jim Lemon <drjimlemon at gmail.com> wrote:
> Hi Loris,
> This looks a lot like a Gantt chart with variable bar widths. I'll
> check it when I have a bit of time and repost.
> On Mon, Aug 8, 2016 at 6:12 PM, Loris Bennett
> <loris.bennett at fu-berlin.de> wrote:
>> I want to visualise temporal events as rectangles, one side of the
>> rectangle being the length of the event, the other being the size of an
>> integer variable. The position of the rectangle along the time axis
>> would be determined by the time of the even, the position on the other
>> axis is essentially arbitrary. This would look like the graph in the
>> lower right of the following image:
>> I can probably cobble something together in raw R to do this, but I
>> assume that this kind of plot has a name and that there may already be
>> packages to do this.
>> Can anyone suggest what one would call this sort of plot?
>> Dr. Loris Bennett (Mr.)
>> ZEDAT, Freie Universität Berlin Email loris.bennett at fu-berlin.de
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help