Single object in legend of plot and patch or fill

2 次查看(过去 30 天)
I would like to create a legend for a figure that displays a line and the errorbars or a patch in a single legend object (i.e. where the line overlays the errorbars or patch in the legend). I've tried using hggroup but I'm under the impression that only works for a plot that has multiple lines.
An example of the legend I'm looking for can be found in Figure 5 of:
Church, J.A., and White, N.J., 2011. Sea-level rise from the late 19th to the early 21st century. Surveys in Geophysics, 32: 585-602.
  2 个评论
Jan
Jan 2013-4-6
I suggest to post a picture of the example. I'm not going to search in this paper until I've found, what you probably want.
curoi
curoi 2013-4-6
编辑:curoi 2013-4-6
How do you upload pictures to this forum? It's not clear.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Legend 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by