답변 있음
3D Convex hull projection on 2D planes
Something like this? %% x=[10 10 40 60 60 60]; y=[0 10 40 30 10 0]; z=[10 13 40 60 57 50]; tri = delaunay(x,y);...

10년 초과 전 | 0

| 수락됨

답변 있음
Struggling with legend on grouped bar charts (Matlab)
If you use legend show instead of passing in the two names, you'll see what's going on here. In that case you'll get si...

10년 초과 전 | 0

| 수락됨

게시됨


Object Creation Performance
Object Creation PerformanceBack in January, we looked at the performance of creating a graphics object with a lot of data....

10년 초과 전

Thumbnail

답변 있음
How to rotate a quiver object in matlab
The rotate command actually modifies the data of the graphics object, and it doesn't know how to modify all of the different typ...

10년 초과 전 | 2

| 수락됨

답변 있음
Smooth contours in simple 2D matrix
Contour won't you control the interpolation, but you can do it yourself. You basically need to follow this example I posted on t...

10년 초과 전 | 0

답변 있음
How can I use an interpreter (like LaTeX) when setting axis markers?
I assume that by "marker" you mean "ticklabel"? If so, it is separate from the interpreter which is used for titles and labels. ...

10년 초과 전 | 11

| 수락됨

답변 있음
setting ColorOrderIndex before 1st line is drawn?
If hold is on, then plot resets the ColorOrderIndex. If you just add hold on before your call to plot, then it should d...

거의 11년 전 | 1

답변 있음
How can I get a 3D rotation matrix
If you look at the command <http://www.mathworks.com/help/matlab/ref/makehgtform.html makehgtform> , you'll find a form that loo...

거의 11년 전 | 1

| 수락됨

답변 있음
How do I make round 'o' markers render as round when saving to png
That looks like an issue that the OpenGL driver has on some graphics cards when drawing wide lines. If so, you have a couple of ...

거의 11년 전 | 1

| 수락됨

답변 있음
Plot the numbers of a matrix as points (dots) in a plot
Here's a really simple, but inelegant solution: %% A=[1 0 5 7; 3 0 8 4; 6 4 5 2] %% cla axis ij hold on ...

거의 11년 전 | 0

| 수락됨

답변 있음
Cannot plot additional scatter points in a boxplot
I think it's just that boxplot leaves the YLim in manual mode. Try this: ylim auto

거의 11년 전 | 1

| 수락됨

답변 있음
Layering SortMethod for 3D Plotting
One option to consider is to place your feature points in a separate axes. The contents of different axes are drawn with childor...

거의 11년 전 | 2

| 수락됨

답변 있음
Why is MATLAB 2015A placing the text box in the wrong location?
If you mean the text object with the string 'CLASS', then I think that it's the order of the Position and Units properties on yo...

거의 11년 전 | 1

| 수락됨

답변 있음
2-D Contour plot for non-uniformly spaced data points
The contour commands can handle curvilinear grids, but not multi-resolution grids. So I could do this: [theta,rad] = meshgr...

거의 11년 전 | 0

답변 있음
Blurry Text and Lines in Graph
Those are new features that were introduced in R2014b. There are properties for controlling them: <http://www.mathworks.com/e...

거의 11년 전 | 0

| 수락됨

답변 있음
How could I a draw circle on a 2D surface in 3D?
No, you probably don't want to try and force it into a quad mesh. If you look at your triangle mesh: set(p,'EdgeColor','whi...

거의 11년 전 | 0

답변 있음
How can I plot 3D scattared data on a triangulated 3D body
I don't have a good, ready to use example, but I can explain the basic idea. You have a triangle mesh. What you probably want...

거의 11년 전 | 0

| 수락됨

답변 있음
surf and color bar does not show correct color gradient.
What's happening here is that you have FaceColor='flat'. In this case, it's using your 10x10 matrix as the Z values of the verti...

거의 11년 전 | 2

| 수락됨

답변 있음
How can I obtain opaque patch in a subplot with a mesh command in another subplot?
You're seeing the edges of the red circles poke through the green circle, aren't you? This isn't actually caused by alpha. He...

거의 11년 전 | 0

| 수락됨

게시됨


Patch Work
Patch WorkBack before the internet, programmers collected xeroxed copies of old notes and papers. We traded these with our...

거의 11년 전

Thumbnail

답변 있음
I want to use ezpolar with line colour, style, width control. Is this possible?
The ezpolar command has a return argument. This is a handle to the graphics object it creates. You can set properties on that: ...

거의 11년 전 | 0

| 수락됨

답변 있음
Creating a surface plot using Simulink?
There are a few different approaches to this. I described one <http://blogs.mathworks.com/graphics/2014/10/21/double_pendulum/ ...

거의 11년 전 | 0

답변 있음
GUI developed in Matalb 2013b behaving weirdly in Matlab 2015a
My guess would be that you have handles to graphics objects in your workspace when you save the MAT file. Consider the following...

거의 11년 전 | 2

답변 있음
How to split a contourf plot into two sections with different zooms
The only builtin non-linear scale is log, but you can roll your own. Here's a simple example: %% Start with peaks [x,y,z...

거의 11년 전 | 1

| 수락됨

게시됨


State Taxes
If you live in the US, you probably filed your taxes sometime in the last couple of months. If you're like me, that got you...

거의 11년 전

Thumbnail

답변 있음
Linkaxes much slower in 2015a
This is an interesting case. There's a lot of stuff going on here. I'm always looking for good performance cases for <http://blo...

거의 11년 전 | 3

| 수락됨

답변 있음
Annotation with angled arrow
They are supported, but the default interpreter for annotations is tex. You'll need to set it to latex to get what you want: ...

거의 11년 전 | 0

| 수락됨

답변 있음
How to insert LaTeX equation into static text/plot in GUI?
These three commands: text(x,y,mystr) annotation('textbox','String',mystr) uicontrol('Style','text','String',mystr) ...

거의 11년 전 | 2

| 수락됨

답변 있음
How to create simple shapes in Matlab and save them as bitmap images.
Maybe this will be enough to get you started: %% Create Objects figure('Position',[100 100 512 512],'Color','white') ...

거의 11년 전 | 0

답변 있음
How to place a marker on a 3D surface plot
Consider the following example: [x,y,z] = peaks; surf(x,y,z) hold on [~,i] = max(z(:)); h = scatter3(x(i),y(i),...

거의 11년 전 | 4

| 수락됨

더 보기