surfc: How do you make contours thicker?

WetlabStudent

I've been reading the documentation for surfc but can not find an option for making the contours thicker, for the contours displayed underneath the surface. Is there anyway to do this?

Dan

Couldn't really find any docs on this but by playing around I see that you can do it like this:

h = surfc(X,Y,Z);
set(h(2:end), 'LineWidth', 2)

enter image description here

Looks like h(1) is a handle to the surface and then the rest of the elements of h appear to be handles to each individual contour.

Would be good to see a link to docs confirming this though if anyone finds them

EDIT:

@bdecaf points out below that the contours are all of the type patch. So you can get handles to them like this:

h_contours = findall(gcf,'Type','patch');

and then

set(h_contours, 'LineWidth', 2)

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

When creating a multiple line plot in ggplot2, how do you make one line thicker than the others?

From Dev

How to make borders thicker in Libreoffice?

From Dev

Graphviz node style : thicker contours?

From Dev

how to make font thicker then 900 using css

From Dev

How to make thicker stem lines in matplolib

From Dev

How to make bar thicker in Kendo UI chart?

From Dev

How to make line plotted thicker in mschart

From Dev

How to make thicker stem lines in matplolib

From Java

How do you make a calculator?

From Dev

How can I make the borders of my map thicker Google Geomap?

From Dev

How can I make two of my lines in Chart JS thicker

From Java

Flutter: How do you make a card clickable?

From Dev

How do you make a static class in swift?

From Dev

How do you make speech bubble with Tooltipsy?

From Dev

How do you make a circle from origin

From Dev

How do you make a changing background in rails?

From Dev

How do you join a 'Collection' to make a string

From Dev

How do you make an email go to spam

From Dev

How do you make a UIWebView content editable?

From Dev

How do you make a clickable sprite in SFML?

From Dev

How do you make relative references in R?

From Dev

How do you make this plist file programmatically?

From Dev

How do you make a class flatMappable?

From Dev

How do you make "infoboxes" in mediawiki?

From Dev

how do you make a protected window in applescript?

From Dev

How do you make the contents of a ListView an ArrayList?

From Dev

How do you make a vector of class objects?

From Dev

How do you make a view drop dimensions?

From Dev

How do you make changes to a Word template?

Related Related

HotTag

Archive