Clear Filters
Clear Filters

Vertical lines in legend using hline and vline

3 views (last 30 days)
Hello, Thanks for reading the post. I recently downloaded the vline and hline file from the exchange. I have a strain vs time plot. I currently have a time of about 2 months. I am using vline to plot a vertical line at every 24 hours from the first 06:00 until the end of the plot time. I am trying to put just a name of what the 'green' vertical lines are on the plot or the vline function. If any guidance could be provided on this it would be greatly appreciated.
Thank you, C. Powell
  2 Comments
Cory Powell
Cory Powell on 23 Sep 2016
**Sorry I am trying to add what the vertical lines are in the legend of the plot. So I would like the legend to read Time=06:00. I should note that there is already a legend created naming where each of the strain data is coming from. If uploading the code/data would help please let me know and I will do so. Thanks again
Walter Roberson
Walter Roberson on 23 Sep 2016
The code would make the discussion easier.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!