matlab-figure Questions
1
Solved
Is it possible to create a data cursor on a given figure at a certain location and then link other cursors in other figures to it? (not subplots)
The objective is that when I move the location of ...
Farmann asked 1/5, 2017 at 14:45
3
I am trying to make a graph with two different contourf subplots that use completely different colormaps. However with the code I currently have (which creates a custom colormap for one of the subp...
Opulence asked 12/11, 2014 at 17:18
1
Solved
I have used imagesc in MatLab to plot an acoustic field. I now want to overlay a semi-transparent filled in rectangle at a certain location on the image. Ideally I'd like to be able to do something...
Beatnik asked 14/4, 2017 at 11:37
3
Solved
Hi , I want to save this image produced from imagesc(magic(3)), the exact rainbow representation, is it possible?
Thanks.
This question might look like a duplicate , but it is not . I looked at...
Cobweb asked 16/8, 2013 at 4:2
1
Solved
I created the following 3d plot in MATLAB using the function plot3:
Now, I want to get a hatched area below the "2d sub-graphs" (i.e. below the blue and red curves). Unfortunately, I don't have ...
Contracture asked 4/4, 2017 at 21:14
5
Solved
I'm trying to draw an arrow in matlab graph, without any success.
Code example:
function [ output_args ] = example( input_args )
figure ('Name', 'example');
x = [10 30]
y = [10 30]
xlim([1, 100]...
Timmerman asked 8/9, 2014 at 17:26
1
Solved
I'm make a filled contour or surface plot from a scattered dataset.
A major difference from other Qs is that the data are not convex.
[r,th] = meshgrid(10:15,0:180);
[x,y] = deal(r.*sind(th), r....
Welterweight asked 30/3, 2017 at 18:16
2
Solved
I get the error Segmentation violation detected in Matlab 7.12.0.635 (R2011a) (on Ubuntu 12.10) whenever I try to save a figure as jpg or png. I can save a figure as .fig, though...
What can I do ...
Tegucigalpa asked 8/11, 2012 at 17:2
1
I want to make a bar chart in Matlab, where one of the categories is "breaking through the roof" of the axes, over the y-axis limit, but I can't figure how to do this. When I change the upper limit...
Bolan asked 1/3, 2017 at 23:18
2
Solved
I have simulated some random walkers. I used
plot(xb,yb,'b--o')
to show particles in each step. I saw a code in below link with beautiful particles with tail which moves in a blur way. Is ther...
Bedder asked 24/2, 2017 at 12:33
3
I am trying to include a legend within my matlab plot which uses the Latex interpreter for the legend text.
When I set the legend to use the Latex interpreter though, the text within overflows out...
Psychometrics asked 20/9, 2013 at 18:40
3
Solved
Does anyone have an idea how is this kind of chart plotted? It seems like heat map. However, instead of using color, size of each cell is used to indicate the magnitude. I want to plot a figure lik...
Arvy asked 17/2, 2017 at 21:45
4
Solved
I'd like to add two legends to a plot in MATLAB. How can I do this?
Officiant asked 28/6, 2012 at 22:37
2
Solved
Is it possible to add gradient color to 2-D line in Matlab, especially when you have small number of data points (less than 10?), so the result would be similar to one in image below?
Painterly asked 11/2, 2017 at 10:43
4
Solved
I need an additional text in the legend that is not related with graphical data together with the legend captions.
Something like this (it was made in OriginLab):
Following to this link Add custo...
Pseudonymous asked 23/1, 2017 at 10:41
3
Solved
When I plot a function f(x) in Matlab, for example, the sine function, the graph I get is this:
I want to plot it in a rather different way, such as this, generated with Mathematica:
Note the axe...
Keepsake asked 4/7, 2016 at 14:15
1
Solved
I am trying to create a figure of subplots. I don't want the subplots to have legends but instead the figure to have an overall legend.
I read that it is possible either by adding a legend only t...
Jackal asked 3/1, 2017 at 23:53
2
I want to make a MATLAB plot that has tick labels but no tick marks on the x axis, but does have tick marks on the y axis. How can I do this?
I can't use
set(gca,'XTick',[])
because this would ...
Aton asked 9/10, 2014 at 21:28
6
Solved
I want to plot a scatter plot with filled markers and make them semi-transparent so when two or more markers overlap, the overlapping area will be more opaque.
I naively thought
sg = scatter(rand...
Deedee asked 16/6, 2011 at 2:9
3
Solved
In a MATLAB function I am writing, I am generating a figure. The figure is displayed when the function is executed. I need to save the figure as a JPEG image. To do that, I could do File->Save As i...
Allodial asked 13/4, 2013 at 5:32
2
Solved
I have created the following map, which has a uniform gray grid with 1° intervals both for meridians and parallels:
I would also like to have the meridians and parallels thicker and in black for...
Palliate asked 18/10, 2016 at 1:27
1
Solved
In Matlab R2016a while waiting for a user input or paused I'm unable to interact with figure controls, like zoom. This doesn't happen in older Matlab versions.
This only happens when a figure was...
Kilderkin asked 4/10, 2016 at 21:16
1
I want to plot multiple lines with one call to plot(), with different line styles for each line. Here's an example:
Both
plot([1,2,3]', [4,5;6,7;8,9], {'-o', '-x'})
and
hs = plot([1,2,3]', [4,...
Dichromatism asked 15/10, 2016 at 11:32
4
Solved
I want to place three scatter plots in the same figure window and have a legend that describes them. The scatter plots all load in the same window just fine, but the legend only recognizes the last...
Limulus asked 10/10, 2015 at 23:10
1
Solved
Code 1 where flipping vertically and/or horizontally does not affect axes();
Code 2 where proposed solution does not yield the expected output
close all; clear all; clc;
x = [5 8];
y = [3 6];
C =...
Gargan asked 7/10, 2016 at 17:58
© 2022 - 2024 — McMap. All rights reserved.