MATLAB Answers

How can the lines of a waterfall plot be made thicker in order to be better visible?

28 ビュー (過去 30 日間)
Leo Rauschenberger
Leo Rauschenberger 2017 年 4 月 17 日
回答済み: Jacob Miske 2019 年 5 月 10 日
I've tried saving this graph as .svg or .eps to make it look better in my presentation. However, it always looks scaled back so far that the lines are grainy. Is there any way to remedy this?
I'm looking for a way to either get wider lines or a better format to save the plot under.

回答 (2 件)

Star Strider
Star Strider 2017 年 4 月 17 日
The documentation for waterfall suggests that altering its properties is difficult.
Unless you absolutely have to use a waterfall plot, I would use a ribbon (link) plot. You will still have to change some of its properties to get the result you want, but it’s much easier to do with the ribbon function.

Jacob Miske
Jacob Miske 2019 年 5 月 10 日
Try using a method like this
"field_temperatures" is a n x n matrix with floating point values
%waterfall display
h=waterfall(field_temperatures)
set(h,'LineWidth',5) %makes lines thicker

Community Treasure Hunt

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

Start Hunting!

Translated by