Line Like a Tube

2 views (last 30 days)
Rayane
Rayane on 10 Jan 2014
Commented: Image Analyst on 10 Jan 2014
Hello
is there a way to dray a line looking like a thick gradient tube(gray - black) on matlab gui?
Thank you in advance ...

Answers (1)

Image Analyst
Image Analyst on 10 Jan 2014
You mean like streamtube()?
  5 Comments
Rayane
Rayane on 10 Jan 2014
Thanks
But I'm actually new to matlab gui I don't know how to use patch and fill
how can I fill a sloped line with gradient color and give it a 3d shape in 2D plane?
Image Analyst
Image Analyst on 10 Jan 2014
Try fill3(). Look at the examples, which have cases where the plane has a color gradient across it.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!