Answered
Change colour of points in plot3 with increasing z value
No, plot3 only supports a single color. You can use other graphics functions. The "traditional" one for this purpose is actually...

10 years ago | 4

Answered
Colorbar error "Too many input arguments." in matlab 2015b
This bit of the message: Error using parula Too many input arguments. Error in matlab.graphics.illustration.ColorBar ...

10 years ago | 1

Answered
Graphics Pipeline: Viewspace & Back face culling
Are you sure your triangle orientations are consistent? For the calculations you're using for normals and backfaces, they mus...

10 years ago | 1

Published


Into the Mucube
Last time, when I was talking about permutohedra, we saw how truncated octahedra fill 3D space with no gaps. There are a...

10 years ago

Thumbnail

Answered
Does MATLAB R2014b require Graphics card to run fast.
It would depend on what your code is doing. A faster graphics card will only help with certain operations. Have you tried the...

10 years ago | 0

Answered
Removing white space inside MATLAB plot
Yet another option is to use this: axis tight This tells the rulers on the axes that they shouldn't round out to "nice" ...

10 years ago | 4

| accepted

Answered
Understanding the Color Matrix Input in surf()
From the help for the <http://www.mathworks.com/help/matlab/ref/gradient.html gradient function>: [FX,FY] = gradient(F) re...

10 years ago | 1

Answered
imagesc, HeatMap or something else with non-rectangular cells
You can do heatmap like things with triangular meshes, but there is a bit of a learning curve. You're going to want to learn abo...

10 years ago | 1

Answered
How do I plot a contour map on the surface of a 3-d surface?
A simple tricky I use sometimes is to use a colormap with a small number of colors. [x,y] = meshgrid(linspace(-pi,pi,150));...

10 years ago | 0

| accepted

Answered
error using ezmeshc when using 'defaulttextinterpreter','latex'
The "EZ" functions make up nice titles and labels for you from the functions you give them. But they do that by generating TeX f...

10 years ago | 1

Published


Tiling Hexagons and Other Permutohedra
In earlier posts we've looked at tiling quadrilaterals and pentagons. So what about hexagons? I'm sure you've seen tilings...

10 years ago

Thumbnail

Answered
Can export_fig or else draw vector graphics with transparent surfaces?
I'm sure that Yair (the author of export_fig) will show up at some point with some good advice, but my understanding is that exp...

10 years ago | 2

Answered
how to get the surface patch after delaunay triangulation
Have you tried the freeBoundary method as shown in the first example on <http://www.mathworks.com/help/matlab/ref/triangulation....

10 years ago | 0

| accepted

Answered
Contour(X,Y,Z), grid contour with regard to probability or distance costs
Perhaps the <http://www.mathworks.com/help/matlab/ref/contourf.html contourf function> is what you're looking for. Another possi...

10 years ago | 0

Answered
How to make a gif of an already animated figure
You also need WriteMode=append or the imwrite keeps creating a new file. See the example at the end of <http://blogs.mathwor...

10 years ago | 0

| accepted

Answered
How to rotate an Alpha Shape, or points that defines the edge of a 3D shape?
Could you post your code? Here's a modified version of one of the examples: [x1, y1, z1] = sphere(24); x1 = x1(:); ...

10 years ago | 1

| accepted

Answered
How to implement a nonlinear grid into an image?
The image object won't do that. It does linear interpolation between the coordinates of its corners. You need to use a graphics ...

10 years ago | 2

Answered
How can I plot a combined of attached photos (triangular domain)?
Basically you want the technique I used in <http://blogs.mathworks.com/graphics/2014/11/18/what-is-a-surface/ this blog post abo...

10 years ago | 2

Answered
With what command i can change the width of contours created with SURFC from the beginning?
The property is LineWidth, but things are a little tricky with surfc. The surfc command turns around and calls surf and contour....

10 years ago | 1

| accepted

Answered
How to do triangulation after insert a new point
Perhaps <http://blogs.mathworks.com/loren/2015/07/15/incremental-delaunay-construction/ this post on Loren's blog> will help.

10 years ago | 0

| accepted

Published


Polygon Interpolation
I recently answered a question on MATLAB Answers about how patch interpolates color data. This is a question I get a lot...

10 years ago

Thumbnail

Answered
Colouring Bars by 'Y' value
I would suggest the approach I described in <http://blogs.mathworks.com/graphics/2014/11/11/highlighting-parts-of-charts/ this b...

10 years ago | 0

| accepted

Answered
Is this distance variable?
Yes and no. The YLabel property of the axes is a handle to a text object, and you can set the Position property of that to m...

10 years ago | 2

| accepted

Answered
what is the algorithms for computing Delaunay triangulations
The delaunayTriangulation class is built on top of the <http://www.cgal.org/ CGAL library>. You can find all of the details in <...

10 years ago | 2

Answered
Extract interpolated values from a surface fit?
I'm not quite sure what you mean when you're saying "raster form" here. I think that you just mean that you want to evaluate the...

10 years ago | 0

| accepted

Answered
3d_visualisation
There are some utilities for this on <http://www.mathworks.com/matlabcentral/fileexchange/ the file exchange>, and there is the ...

10 years ago | 0

| accepted

Answered
How can I paint a surface according to another scalar function?
Something like this? [x,y] = meshgrid(linspace(-2,2,50)); z = 4-x-y.^2; c = x.^2 - y; surf(x,y,z,c) <</matlabce...

10 years ago | 0

| accepted

Answered
why can't I call cftool in 2015matlab?
Perhaps you didn't install the <http://www.mathworks.com/help/curvefit/index.html Curve Fitting Toolbox> when you upgraded? That...

10 years ago | 1

Answered
fill3 command working strangely?
I'm going to start with the geometry part of this and then come back to the colors. The help for both patch and fill3 use the...

10 years ago | 0

| accepted

Answered
How can I mesh a cylindrical scatter plot?
Trying to do this in Cartesian space might not be the best approach. You know that the points are nearly on the surface of a cyl...

10 years ago | 0

Load more