Beantwortet
How to change parula with jet?
<http://www.mathworks.com/matlabcentral/answers/246461-how-can-i-get-the-default-colormap-to-be-jet-in-matlab-2014b>

mehr als 10 Jahre vor | 0

Veröffentlicht


Fill Between
Fill BetweenOne question I'm often asked is how to fill the area between two plotted curves. It is possible to do this, but...

mehr als 10 Jahre vor

Thumbnail

Beantwortet
Screen (2D) projection of 3D plot
I talked about the theory behind this in <http://blogs.mathworks.com/graphics/2015/09/28/homogeneous-coordinates/ this recent po...

mehr als 10 Jahre vor | 5

| akzeptiert

Beantwortet
How to make contour plot of given matrices
It's going to look something like this: nrows = length(f); ncols = 150; x = linspace(-10,10,ncols) y = linspace(0,...

mehr als 10 Jahre vor | 1

Beantwortet
How to overlay pcolour figures?
The pcolor function simply creates a surface object with color but no Z. You can set the FaceAlpha property on that to make it t...

mehr als 10 Jahre vor | 0

Beantwortet
Is there a way to control distortion in Matlab's 3D viewer?
I think that the CameraViewAngle property is what you're looking for. You mentioned it as one of the things you know how to adju...

mehr als 10 Jahre vor | 1

Beantwortet
Questions about setting the aspect ratio when rotating an object
What 'axis vis3d' does is freeze the aspect ratios at their current values. This is useful if you're going to rotate the object,...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
Matlab 2-D color plot without imagesc
What you have is 2D scatter data with colors. Let's make up a simple example and look at your options: rng default x = r...

mehr als 10 Jahre vor | 1

Beantwortet
How to use bar plot without outlines?
Either EdgeColor or LineStyle. You might also want to set BarWidth: bar(rand(1,10),'EdgeColor','none','BarWidth',1)

mehr als 10 Jahre vor | 3

| akzeptiert

Beantwortet
3-D geometric transformation of a matrix of 3-D points
Probably the simplest is something like this: mat = makehgtform('axisrotate',[1 1 1],pi/5, 'translate',[1 2 3]); newpts ...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
how can i get the default colormap to be JET in matlab 2014b?
There are two different things getting confused here. There's the Colormap. The default for that changed from jet to parula. ...

mehr als 10 Jahre vor | 3

| akzeptiert

Beantwortet
Why makehgtform creates 4x4 matrices? Why not 3x3?
Actually, I just put a post on the MATLAB Graphics blog which tells the story of why they're 4x4 matrices. You can check it out ...

mehr als 10 Jahre vor | 3

| akzeptiert

Beantwortet
How to set scatter plot colors in order to adjust all plots to a same reference?
I'm not sure I'm following. Let's take a simple, concrete example: rng default nval = 100; cmin = 8e-5; cmax = 8e-...

mehr als 10 Jahre vor | 2

| akzeptiert

Beantwortet
How can I plot a figure with two y axis in my GUI
Why doesn't it work? Do you get an error message when you do: plotyy(handles.axest, v7k,v9k,v7k,v2k) If so, what error m...

mehr als 10 Jahre vor | 0

Beantwortet
Creating a 2D moving object
Sure, here's a simple example. First we create an object. I'm using patch because it's good at all sorts of 2D shapes, and I...

mehr als 10 Jahre vor | 8

| akzeptiert

Beantwortet
How to apply a transformation with makehgtform()?
I just put <http://blogs.mathworks.com/graphics/2015/09/28/homogeneous-coordinates/ a post up on the MATLAB graphics blog> that ...

mehr als 10 Jahre vor | 1

Beantwortet
XTick labels and Stacking in bar plot
In the first (grouped) case, you're probably going to be more successful if you have the two series share a common XData. That'd...

mehr als 10 Jahre vor | 4

Beantwortet
Plotting a 3D matrix on a normal 2D plot
The <http://www.mathworks.com/help/matlab/ref/animatedline.html animatedline function> is usually a good tool for this type of p...

mehr als 10 Jahre vor | 1

| akzeptiert

Veröffentlicht


Homogeneous Coordinates
Homogeneous CoordinatesIn my recent posts about tiling polygons (link1, link2), you might have noticed that I used a...

mehr als 10 Jahre vor

Thumbnail

Beantwortet
Bar graph - how to add transparency in Matlab 2014b
In R2014b you'd have to create the bars yourself using fill or patch, which is how bar was implemented in earlier releases. H...

mehr als 10 Jahre vor | 0

| akzeptiert

Veröffentlicht


What is a Contour?
What is a Contour?Last year we explored how surfaces perform interpolation. Today we're going to take a look at some closely...

mehr als 10 Jahre vor

Thumbnail

Beantwortet
imagesc() Y Axis Log Scale Not Working (Help!)
The way images work is that they only have coordinates for the corners. These get transformed and then the graphics hardware fil...

mehr als 10 Jahre vor | 3

| akzeptiert

Beantwortet
assigning a color to the same value when ploting multiple matrices
You probably want the <http://www.mathworks.com/help/matlab/ref/caxis.html caxis function>. This will let you set the top and bo...

mehr als 10 Jahre vor | 0

Beantwortet
How do I guage plotting speed when using the plot function?
Measuring graphics performance is kind of a rich topic. There are a couple of different variables which are important to conside...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
Legend entries all same color in Matlab 2015b
That sounds like <http://www.mathworks.com/support/bugreports/1283854 bug 1283854>. There's a patch and some workarounds at that...

mehr als 10 Jahre vor | 2

| akzeptiert

Beantwortet
GUI creation script has "matlab.graphics.GraphicsPlaceholder/set" error
Your code's a bit garbled, but what that error message is trying to say is that when it encounters this line: set(h.eqdata(...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
how to plot plane wing surface of an aircraft using two ferguson curve in MATLAB?
You don't seem to have attached an image, but ... I believe that Ferguson curves were an early variation on cubic Bézier curv...

mehr als 10 Jahre vor | 0

Beantwortet
How to add real time graph in simulink 3D animation?
<http://blogs.mathworks.com/graphics/2014/10/21/double_pendulum/ This blog post> illustrates one way to use MATLAB Graphics from...

mehr als 10 Jahre vor | 1

Beantwortet
trisurf handles related.....
The first question is how large your "huge" dataset is. It is possible that you've given it so much data that it's choking the g...

mehr als 10 Jahre vor | 2

Beantwortet
Pixel is a 2D or 3D? please answer me. thanks
I think that the best answer for what a pixel "is" is Alvy Ray Smith's <http://alvyray.com/Memos/CG/Microsoft/6_pixel.pdf A Pixe...

mehr als 10 Jahre vor | 2

Mehr laden