Risposto
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...

quasi 10 anni fa | 4

Risposto
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 ...

quasi 10 anni fa | 1

Risposto
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...

quasi 10 anni fa | 1

Pubblicato


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...

quasi 10 anni fa

Thumbnail

Risposto
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...

quasi 10 anni fa | 0

Risposto
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" ...

quasi 10 anni fa | 4

| accettato

Risposto
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...

quasi 10 anni fa | 1

Risposto
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...

circa 10 anni fa | 1

Risposto
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));...

circa 10 anni fa | 0

| accettato

Risposto
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...

circa 10 anni fa | 1

Pubblicato


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...

circa 10 anni fa

Thumbnail

Risposto
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...

circa 10 anni fa | 2

Risposto
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....

circa 10 anni fa | 0

| accettato

Risposto
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...

circa 10 anni fa | 0

Risposto
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...

circa 10 anni fa | 0

| accettato

Risposto
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(:); ...

circa 10 anni fa | 1

| accettato

Risposto
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 ...

circa 10 anni fa | 2

Risposto
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...

circa 10 anni fa | 2

Risposto
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....

circa 10 anni fa | 1

| accettato

Risposto
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.

circa 10 anni fa | 0

| accettato

Pubblicato


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

circa 10 anni fa

Thumbnail

Risposto
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...

circa 10 anni fa | 0

| accettato

Risposto
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...

circa 10 anni fa | 2

| accettato

Risposto
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 <...

circa 10 anni fa | 2

Risposto
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...

circa 10 anni fa | 0

| accettato

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

circa 10 anni fa | 0

| accettato

Risposto
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...

circa 10 anni fa | 0

| accettato

Risposto
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...

circa 10 anni fa | 1

Risposto
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...

circa 10 anni fa | 0

| accettato

Risposto
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...

circa 10 anni fa | 0

Carica altro