dock a matlab figure in another matlab figure
I have an easy questions for you expert of matlab.
I need to dock a matlab figure in another figure.
What is the procedure ???
Thanks for your precious help,
> I need to dock a matlab figure in another figure.
AFAIK, you can't.
> Chris wrote:
>> I need to dock a matlab figure in another figure.
> AFAIK, you can't.
there's something "similar" since matlab 7 (afaik). however, i don't
know how to control this from a program:
- open two figures
- on each, cli...Plot on Specific figure
I have data generating in loop, while within the loop there are as
many as 4 figures comes to display for user selection. Every time
when the loop reach to end all the windows close except two.
The question is I want to subplot the generating data on the one of
the two already open figure specific figure, how can I do it.
I have tried following, but not sucessful. Please suggest.
findobj('name','sb'),subplot(2,5,p);plot(x(:,1),x(:...Matlab is not plotting figures anymore..
I have installed Matlab7 on my labtop and tried to run a programme
which was o.k. under 6.5. Now the entire Matlab surface does not
respond when I execute the plot command.
A=[1 2 3]
B=[4 5 6]
results in a pop-up of a picture frame and a break-down of Matlab.
Matlab has to be quit in the Task manager without responding anymore.
What is the problem!
...How to plot in MATLAB this simple figure
I was lookint at this figure which was done in matlab
I'm trying to understand how to position the plot in the left and the plot
just under the square matrix in that particular position.
I'm not sure it is something done with the subplot command.
Any idea? I've seen this kind of plot several times (with two time series
and their distance matrix in that configuration) but not been able to
replicate so far
questo articolo e` stato inviato via web dal serv...Matlab plot figure in Labview
Is there a way to directly display a Matlab plot figure within the
front panel of a VI? I know one option is to save the plot as a .jpg
or a 2D image array. Is there a way I can have the created plot
figure be displayed in an image box within the vi front panel instead
of as a separate matlab figure.
Hoping to avoid re-engineering the figures using the Labview plot
If you are reading data returned from matlab, why not use some of the
LabVIEW plots to display that data on its front panel? Do you
necesarly want to see matlab's plot?
The ways to display actual matlab plot on...Plotting Matlab figures on the Server
I have written a Matlab code which takes the data from a huge text file and plots all the parameters with respect to time. I have created an exe file and executed it on the standalone PC. I am able to see all the plots. The runtime compiler is very well installed before executing the file.
Same .exe file when I am executing on the server, the plots are blank without any axes. The complete screen is blank with dark color. I am not understanding where the problem is. I am trying to store all the plots in JPEG format.
Kindly help me out in printing the plots on Server side.
messi2009...Matlab figure and plotting is slow
I'm quite sure this is not an issue with my code, as my code runs much more quickly on a less powerful machine.
Basically, matlab is quite slow in generating and plotting figures. The program generates probably hundreds of figures one after another in order to save them to the disk. On a slower, 2.8ghz P4 machine with 1.5 gb of RAM it generates about one figure a second. In contrast, on my 2.8ghz core 2 duo with 4gb(practically 3.3gb since i'm running vista 32) of RAM it generates about one figure every 4-5 seconds. I also have parallel computing enabled for MATLAB on the more powerful computer.
I've checked process explorer while matlab is running, and there isn't much memory consumption other than matlab, which takes about 350mb and 50% cpu.
Any possible reasons as to why?
Thanks in advance!
"asdf asdf" <firstname.lastname@example.org> wrote in message <email@example.com>...
> I'm quite sure this is not an issue with my code, as my code runs much more quickly on a less powerful machine.
> Basically, matlab is quite slow in generating and plotting figures. The program generates probably hundreds of figures one after another in order to save them to the disk. On a slower, 2.8ghz P4 machine with 1.5 gb of RAM it generates about one figure a second. In contrast, on my 2.8ghz core 2 duo with 4gb(practically 3.3gb since i'm running vista 32) of RAM it generates about one figure every 4-5 seconds. I also have pa...MatLab crashes when plotting figures
I have a very strange problem with matlab and I have no idea how to
solve it. Maybe somebody here had the same problem and could give me
I am using Suse Linux 10.1, with KDE and i have the matlab Version
22.214.171.12401 (R14). So my problem is that about every second time i am
plotting a figure, my whole system crashes and goes back to the login
window. I had the problem before, that I can not save any figure,
otherwise matlab crashes and that i can not use the zoom with the
mouse or anything like that. But I had never the problem that my
whole system crashes. I mean, it is Linux, I never heard of problems
with crashing systems there..
So if anybody has the slightest idea, I would be more than happy!
I think you should contact the support :
> I think you should contact the support :
I did that.. but I thougth I just ask here, maybe somebody had the
same problem, then answers normally come faster :)
Hi Corinne !
I actually have the same problem. I'm working with Fedora Core 5,
running under KDE 3.5.6. I load 2D data, do a surf plot of it and
maybe it works or it crashes. Eventually it crashes, just a matter of
time and how often I do plots. Sometimes the first plot dies,
sometime I can plot 10 graphs and then it crashes my whole X-server.
The Matlab versions I've tried are R2...Creating a plot with line plot and scatter plot in the same figure
I am looking to plot a line plot of a function (say, x^2)
and a scatter plot of various data points on the same
figure. Is there a way to do this?
Perhaps it involves using the "hold on" command?
Thanks so much for your time!
"Andrew " <firstname.lastname@example.org> wrote in message
> Perhaps it involves using the "hold on" command?
...marking a specific point in matlab plot.
i have plotted a plot using plot function. I wanted to mark a point (precisely,) lets say with y-coord: 0.160898403. How would i mark this point? help plz?
quasistar <email@example.com> wrote in message <1872666693.67262.1278227925911.JavaMail.firstname.lastname@example.org>...
> i have plotted a plot using plot function. I wanted to mark a point (precisely,) lets say with y-coord: 0.160898403. How would i mark this point? help plz?
...Insert a figure into a Matlab figure
I created two MATLAB figures. I want one of them is inserted into the
other. Can anybody please reply how this can be done. Thanks. Frank.
It depends on what you actually want to do. But normally you would
not create two figures if you only want to end up with one figure.
Instead you would continue to add plots to the figure window.
See the help on these subjects:
try this :
axes('Position',[.1 .1 .8 .8]);
axes('Position',[.1 .1 .4 .4]);
Ooopp...plot maple plot in matlab
Does anyone know how to export surface plot from maple with multible surfaces to a file format that can be easily plotted using matlab?
Thanks in advance
Brian Bak wrote:
> Does anyone know how to export surface plot from maple with multible
> surfaces to a file format that can be easily plotted using matlab?
Which maple command are you using to generate the surface plot, and what
options are you using for it? If I recall correctly, Maple 12 added
options to code the coordinates as hardware floats, and added options to
represent the coordinates i...Matlab plots outside Matlab
I'm making an end-user application where I would like to use Matlab
functionality both for calculation and plotting. Matlabs GUI builder guide
does not satisfy my needs (no support for f.ex. internal frames and other
nescessities), so I'm planning to compile my Matlab code and use other API
(Java, QT or something) for GUI. My problem is then, that I loose access
to the neat plotting commands availible under matlab GUI...
Is there a way of integrating Matlabs plot functionality into another GUI
system? - has it been done?
- I appreciate any response!
- P�l Berge
...plotting in matlab
i have a probably very simple question, all i try to do is plotting
multiple graphs that also have the same scale in one figure - but
giving them different colour and caracter. i aditionally want to
devide the graph at one point (lets say y=10) with a red line...
i have the graphs as five (1,48) matix. and i would like to smothen
the graph using something like spline...
i have tried figuring this with matlab help - but it is out of my
does anyone know an example that i can look at so i can figure how to
code this??? this is my first contact with matlab and i am not too
comforta...plot a figure in a specified figures..!!
there are four axes objects, but I want to use a specfied axes
object, how can I do..??
> Hello, everyone...
> there are four axes objects, but I want to use a specfied axes
> object, how can I do..??
You can use the axes function to set the current axis. You didn't
tell us how you are choosing the specified axes you want to use, so I
can't really help much more...
title('This ...How to save a specific plot as image and then use that image to plot into 3d plot.
I would like to know if there is any way to plot image
(jpeg,tiff,bmp) on axis plot.
I am currently doing a 3D volume (6 surfaces) plotting function which
involves very large data set (more than 100MB worth of file size).
The data will create 6 surfaces; top,bottom,left,right,front,back.
While I can load the volume cube (using surf), rotating or zooming
in/out really slows down/sometimes hangs the graph.
I understand it happens because of the amount of data it needs to
process over every rotation. My question is, are there any way to
save each of the surfaces as images. This is so I can repl...Get Number of plots automatically on saved matlab figure
Lets think we have a figure as;
and save this figure. When i open it as *.*fig format, i want to get information from figure(1) how many plots on it. There is 2 plots on figure1, but i would like to get this automatically to give another function.
"mustafa senkaya" <email@example.com> wrote in message
> Lets think we have a figure as;
> figure(1),plot(1:10);hold on;plot(2:2:45)
> and save this figure. When i open it as *.*fig format, i want to get
> information from figure(1) how many plots on it. There is 2 plots on
> figure1, but i would like to get this automatically to give another
Take a look at the FINDOBJ and FINDALL functions.
To contact Technical Support use the Contact Us link on
...How to save a plotted figure into .jpg(or .bmp, or the others ) file by Matlab instructions?
How to save a plotted figure into .jpg(or .bmp, or the others ) file by
e.g.I want to save the figure by Matlab instructions produced by the
How should I do?
...[Linux/KDE, display, plot] How to force matlab to use a specific desktop
(sorry for mailing twice, I had used a wrong thread on my first post)
I run Linux with KDE and have 4 desktops I use for different activities
(e.g. email/web, typesetting, matlab computations, etc...)
Is there a way to force matlab in using only a specific desktop when
opening new windows?
It is annoying to have the plots popping up in the middle of some LaTeX
command battle and distract my attention.
Furthermore, I have a similar issue when I run multiple simulations from
different computers which are all to be displayed on my screen. It would
be nice to have the results from the sim...How to save a plotted figure into .jpg(or .bmp, or the others ) file by Matlab instructions? #2
How to save a plotted figure into .jpg(or .bmp, or the others ) file
by Matlab instructions?
e.g.I want to save the figure by Matlab instructions produced by the
How should I do?
je2ccc <firstname.lastname@example.org> writes:
>How to save a plotted figure into .jpg(or .bmp, or the others ) file
>by Matlab instructions?
% possibly want getframe(gca) or getframe(gcf)
(don't use jpg except for photo like pictures. For your example, tiff or
Tim Love wrote:
> ...Difference between plot in figure and plot in GUI?
I have programmed a code that plots the earth and then plots
the orbit of a satellite by using a text of x,y,z coordinates.
The code of the earth is programmed by the command "sphere"
and then with the "surface" i give a "texturemap" with the
When i run it from command window is made a figure where
plotted small lines, which is the orbit's curve, and the
plot is completed in about 30 seconds.
I've made a GUI so that will be plotted, instead of a
figure, in the GUI's environment.Now the strange thing is
that the code...how to plot 10 figures in one figure
I want to draw 10 figures in one figure and would be grateful if any one please guide me through or write a piece of code here. I want to have 10 subplots in one figure.
On May 15, 10:40 am, subzazar <baarish_bar...@hotmail.com> wrote:
> I want to draw 10 figures in one figure and would be grateful if any one please guide me through or write a piece of code here. I want to have 10 subplots in one figure.
Your expectations are too high.
No one in their right mind at CSSM is gonna "write a piece of code"
Have you thought ...Plotting a Colour lined plot in Matlab
What i'm trying to do is plot a 2D graph of position however this
position changes with a known time vector, what i would like to do it
have the colour of the 2D plot change according to the time thus the
position with respect to time would be known.
I've looked at a code created a few years ago on this page, shown
function h = c_line(x, y, z, mark)
% c_line plots a 2-D "line" with z-data as color
% h = c_line(x, y, z, mark)
% in: x x-data
% y y-data
% z 3rd dimension for colouring
% mark marker or linestyle to use (like linestyl...SYS$SPECIFIC and SYS$COMMON not enough?
Basically, the idea is that stuff specific to a given node will be in
its SYS$SPECIFIC directory and stuff common to all nodes (satellites or
not) booting from the same system disk will be in SYS$COMMON. A good
idea as far as it goes, but does it go far enough?
In particular, there are two additional categories, which I'll give the
obvious names SYS$CLUSTER and SYS$WORLD. SYS$CLUSTER would include
stuff common to all nodes in a cluster, i.e. would differ from
SYS$COMMON if there is more than one system disk in the cluster. The
obvious place for this stuff is somewhere which is not ...