matlab-figure Questions

2

Solved

I want to save a MATLAB figure as PDF, with quality 300 DPI, and centered. So far I managed to save it, but the image appears cropped. I changed the page type to A3 and kind of solves the pro...
Bombardon asked 18/7, 2012 at 13:36

1

Solved

The Matlab documentation definition for KeyPressFcn is a "callback function invoked by a key press that occurs while the figure window has focus." Similarly, the definition for WindowKeyPressFcn i...
Diorio asked 7/8, 2014 at 4:54

1

Solved

I would like to know how to plot multiple, 2D contour plots spaced apart in the z-axis, in a 3D figure like this:
Scotism asked 7/7, 2014 at 23:19

2

Solved

I have the code: values = [1.0 0.6 0.1; 0.0 1.0 0.3; 0.9 0.4 1.0]; h = bar3(values); shading interp for i = 1:length(h) % Get the ZData matrix of the current group zdata = get(h(i),'Zdata'); se...
Zymogenic asked 17/6, 2014 at 17:2

3

Solved

Is there some way of using the surf() style data format to create a heat map? I have a bunch of scattered data of the form z=f(x,y) (so I used TriScatteredInterp to make it work with meshgrid) and...
Episternum asked 10/6, 2014 at 23:58

1

Solved

In MATLAB, I want to set the transparency of bars in a bar plot to 0.3 and set the y-axis to a log scale - but both don't seem to work... subplot('Position',[0.15 0.7 0.45 0.15]); data = [1 2 5 4...
Furan asked 13/5, 2014 at 4:26

3

Solved

I'm plotting some data with MATLAB and I'd like to adjust the distance between axis label and the axis itself. However, simply adding a bit to the "Position" property of the label makes the label m...
Restore asked 19/2, 2013 at 20:29

2

I'm trying to plot double bottom x-axis according to the figure after the jump: It is a semilogx-plot in hours with additional specific ticks representing minutes, months and years. How do I cre...
Verlaverlee asked 29/4, 2014 at 14:5

1

Solved

I'm trying to plot several symbolic functions in the same subplot. Using ezsurf makes it easy to plot symbolic functions, but it doesn't seem to be very configurable. I can't colour the individual...
Wilek asked 25/3, 2014 at 21:26

2

I have a graph with several plots, each of them comes from a different source file. I want the data tip to tell me (X,Y) plus the name of the source file. So long my best try (without success) is t...
Heretic asked 23/8, 2012 at 21:16

4

Solved

Does anyone know if it's possible to automatically write a figure out to a .eps file in MATLAB? I'm running a script that produces a large number of graphs, and it'd be nice if I didn't have to ma...
Harpy asked 3/3, 2009 at 15:13

5

Solved

I'm trying to plot several kernel density estimations on the same graph, and I want them to all be different colors. I have a kludged solution using a string 'rgbcmyk' and stepping through it for e...
Divorcee asked 8/1, 2010 at 16:1

4

I have a dataset that describes a point cloud of a 3D cylinder (xx,yy,zz,C): and I would like to make a surface plot from this dataset, similar to this In order to do this I thought I could int...
Runge asked 12/10, 2012 at 16:49

3

Solved

This should be a problem with a trivial solution, but still I wasn't able to find one. Say that I have 2 matlab figures fig1.fig, fig2.fig which I want to load and show in the same plotting window...
Convertite asked 7/11, 2012 at 18:38

3

I want to draw a rectangle to outline an area of an image that I've plotted in one axes of a figure. I have multiple axes in this figure, so I am using the rectangle() function. What I want is to d...
Botanomancy asked 13/2, 2012 at 20:24

3

Solved

I am trying to mark a few thousands of geo-locations on the world-map with matlab. I have the latitudes and longitudes of those locations. Is there any good way to do this? Thanks.
Kosiur asked 25/7, 2012 at 17:44

1

Solved

I've attempted to look at MatLab documentation here: http://www.mathworks.com/help/matlab/ref/interp3.html and then in the help interp3 section of MatLab, but I'm having trouble figuring o...
Spurious asked 22/11, 2013 at 5:10

4

Solved

I have nine open figures in matlab (generated by another function) and I want to print them all to file. Does anyone know how to grab the handles of all open figures in MATLAB? I know about gcf b...
Downtrend asked 27/12, 2010 at 17:43

7

Solved

I want to change Font Size for xlabel, ylabel, axis size, legend font size a.k.a everything at once, is this possible? By default, font is Helvetica 10. Is there way to change this? I want to u...
Nonintervention asked 19/1, 2012 at 22:43

2

Solved

I created the following uitable: actually every single row is an indpendent uitable, so the figure shown contains 5 uitables besides the header. Why I'm doing that was the issue of my last quest...

2

Solved

I have imported an image in matlab and before I display it how would I make the background of the image transparent? For example I have a red ball on a white background, how would i make the white ...
Paedo asked 18/4, 2012 at 15:59

1

Solved

As seen in an included screenshot, the EPS output of matlab is cutting of the label on the right hand side Y axis. I am using the plotyy function, and printing to eps with: print(f1,'-depsc2' ,'fi...
Literally asked 24/9, 2013 at 14:18

1

Solved

I've found that I can put set(0, 'DefaultAxesFontSize',14) in a startup.m file, which then changes the default font size of ticks, axes labels, and title of my figures. Is it possible to have a sep...
Banerjee asked 20/4, 2012 at 7:31

3

Solved

I want to add extra Information to a figure in MATLAB, like this: Is it possible? (Of course I want it to be more beautiful)
Permatron asked 10/9, 2013 at 10:35

3

Solved

Suppose that I want to update a plot with a new data. What method should I choose? Set the XDataSource property to some name, update the variable, and call refreshdata Erase the original plot, a...
Conventioner asked 27/10, 2012 at 17:53

© 2022 - 2024 — McMap. All rights reserved.