kakearney / boundedline-pkg

Plot line(s) with error bounds/confidence intervals/etc. in Matlab
MIT License
102 stars 25 forks source link

does not take into account 'DisplayName' #11

Open pierreloicq opened 3 years ago

pierreloicq commented 3 years ago

Hello, I don't manage to pass a 'DisplayName' argument. It falls in this error:

Error using boundedline (line 175) Unexpected input: should be x, y, bounds triplets

Is it expected ? Thank you

sandshrew118 commented 1 year ago

You can return a line object and then access the DisplayName property e.g.

[l, p] = boundedline(...)
l.DisplayName = "abc"