Beantwortet
problem with 3d bar plot and colorbar
That appears to be <http://www.mathworks.com/matlabcentral/answers/53874-colorbar-error-how-to-fix-it this issue>. I asked th...

mehr als 10 Jahre vor | 0

Beantwortet
How to make a equilateral triangular piece in a rectangular meshgrid?
Meshgrid is going to create a rectangular mesh, but you can fill the parts you don't want with nan, as I described in <http://ww...

mehr als 10 Jahre vor | 0

Beantwortet
Plotting discontinuos X Data
You can use <http://www.mathworks.com/help/matlab/ref/nan.html nan> to represent discontinuities: datax = [6 7 8 9 nan 14 n...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
Graphic problem on windows, but ok on Linux
No, that error message is talking about the data being passed into contour. It's not dependent on the graphics card or the rende...

mehr als 10 Jahre vor | 1

| akzeptiert

Veröffentlicht


Interactive Graph Layout
I really like the new graph visualization functions that were introduced in R2015b. I particularly like the various options...

mehr als 10 Jahre vor

Thumbnail

Beantwortet
Plot3 mark first and last coordinate set?
The simplest way is to just create a second plot: plot3(x,y,z) hold on plot3([x(1),x(end)],[y(1),y(end)],[z(1),z(end)...

mehr als 10 Jahre vor | 1

Beantwortet
How can I draw equipotential surface?
<http://blogs.mathworks.com/graphics/2015/03/03/implicit-curves/ This post> I wrote for the MATLAB Graphics blog explains the ba...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
How can I plot diagram in MATLAB
Here's a starting point. for i=1:3 subplot(3,1,i) plot(measured(i,:),'k') hold on plot(modeled(i,:),'k:...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
How can I create a bubble different size plot?
Do you mean something like this? <</matlabcentral/answers/uploaded_files/41664/speed.png>> Here's how I did that: % L...

mehr als 10 Jahre vor | 0

Beantwortet
3D Histgram plot for [N,M] Matrix, visualize result monte carlo simulation
Is <http://www.mathworks.com/help/matlab/ref/histogram2.html histogram2> what you're looking for? <<http://www.mathworks.com/...

mehr als 10 Jahre vor | 0

Beantwortet
how to remove the remaining part of my plot
The function fill has a return argument. This is called a 'handle'. The handle has a delete method which you can call to get rid...

mehr als 10 Jahre vor | 0

Beantwortet
How to create a cuboid ?
<http://www.mathworks.com/help/matlab/visualize/multifaceted-patches.html This page of the doc> talks about how to use the <http...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
Export a 3d plot with light in .eps in MATLAB
I'm afraid I don't know the whole story on this one, but I know part of it. If you've got a surface which only contains solid...

mehr als 10 Jahre vor | 0

Beantwortet
Plotting real time data in matlab with Ni-daq, but view the entire graph as it is plotting
<http://www.mathworks.com/help/matlab/ref/animatedline-object.html This page> and <http://www.mathworks.com/help/matlab/ref/draw...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
How to show the 3d volume transparently ?
The Renderer 'zbuffer' didn't support FaceAlpha. You'll need to use opengl.

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
Create intersection between surface and oriented planes
How is your surface defined? A patch object? Are the faces triangles, or perhaps quads? This <http://blogs.mathworks.com/grap...

mehr als 10 Jahre vor | 2

Beantwortet
Generate 3-D object
Have you tried the <http://www.mathworks.com/help/matlab/visualize/techniques-for-visualizing-scalar-volume-data.html isosurface...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
Why don't I see the graph? [No Graph visible in figure window without '+' or '.' argument]
When you're calling plot, you're passing in a single data point. The linespecs '.', '+', etc. are setting the property Marke...

mehr als 10 Jahre vor | 1

| akzeptiert

Beantwortet
patch object changes size when rotating with makehgtform in 2014b
It's the call to 'axis image'. I'll have to do some digging to figure out what changed there, but what are you trying to accompl...

mehr als 10 Jahre vor | 1

| akzeptiert

Beantwortet
Contour of a 2d projection from 3d data
Look at the approach I used in my answer to <http://www.mathworks.com/matlabcentral/answers/258711-how-to-i-surf-or-3d-mesh-3-di...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
How to I surf or 3D mesh 3 different scripts?(Boat)
You actually don't have enough information to unambiguously define the surface. Here's the classic illustration of that fact...

mehr als 10 Jahre vor | 1

Veröffentlicht


Contour and Infinities
In a recent post, I talked about an interesting edge case in the contour function. Today I'd like to talk about another one....

mehr als 10 Jahre vor

Thumbnail

Beantwortet
Use step size in surf and imagesc
You need to make up XData & YData arrays with the right values and pass them into surf & imagesc. Something like this: x = ...

mehr als 10 Jahre vor | 1

| akzeptiert

Beantwortet
Patch function gives crosses when multiple squares attempted
Yeah, this can be a bit confusing. If you look at the <http://www.mathworks.com/help/matlab/ref/patch.html help for the XYC ...

mehr als 10 Jahre vor | 1

Beantwortet
minor grid line spacing on log axes of less than 1 decade (answered by myself)
They're not really log spaced differently. Let's look at an example: ydat = linspace(1,100,500); semilogy(ydat) ax...

mehr als 10 Jahre vor | 2

Beantwortet
Plot several signals but I want nudging or not overlap between them
There are a couple of approaches. If you want to put all of the plots in the same axes, then they're going to share the same...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
Which data are stored in handles of boxplot?
They're the handles of the line objects it created. They've been cast to double (because it's rather old code), but if you're us...

mehr als 10 Jahre vor | 0

Beantwortet
Combine LineStyleOrder and ColorOrder?!?
Update Starting in MATLAB R2023a you can cycle through LineStyleOrder and ColorOrder together by setting LineStyleCyclingMethod...

mehr als 10 Jahre vor | 1

| akzeptiert

Beantwortet
painters renderer ignoring uistack and z values in R2014b
You need to learn about the SortMethod property on the <http://www.mathworks.com/help/matlab/ref/axes-properties.html axes>. I t...

mehr als 10 Jahre vor | 1

| akzeptiert

Beantwortet
Why does turning the visibility of a figure to "off" slow things down?
They actually don't do the same thing at all. In the Visible='on' case, the pixels are already sitting in the framebuffer on ...

mehr als 10 Jahre vor | 0

Mehr laden