controlling .eps figure size from matlab print -deps
For some reason, when I export from .fig to .eps using print -deps, the resulting .eps figure size is not fixed (i.e., it varies from figure to figure). Is there a simple fix to this (perhaps an option for output size, or maybe I should be fixing resolution)?
Thanks in advance.
"Jacek" <firstname.lastname@example.org> wrote in message <email@example.com>...
> For some reason, when I export from .fig to .eps using print -deps, the resulting .eps figure size is not fixed (i.e., it varies from figure to figure). Is there a simple fix to this (perhaps an option...how to set the figure size and subplot size
My matlab script will generate a figure with left half a listbox
using uicontrol and right half three subplots. It looks crowded if I
did not adjust the size of the figure. In addition, those subplots
are rectangular with high aspect ratio, I want to adjust them to
rectangular with aspect ratio close to 1, meaning that x and y look
the same. Does anybody know how to set the
1. figure size
2. subplot size
3. aspect ratio
using matlab command?
how to set the
> 1. figure size
set(handleOfFigure,'Position',[x y w h])
see also the property units
> 2. subp...Control of Matlab event loop from C or Matlab
I was wondering if there is a way to control Matlab event loop? Is
there a way to make Matlab be able to respond to key presses in Matlab
GUI or call from C (via engine) and to either pause or stop its
execution. I know that Matlab can execute items on its 'event queue'
when pause() or drawnow() etc are called, but that means that I have to
explicitly put those in the code. Is there some way that would be more
Second question is about the 'event queue.' How does one add things to
the event queue? How can I add a call from, say, C engine such as
evalString() to the ev...Controlling line size and page size procedure output
I often save listing output from SAS PROCs by cutting and pasting from
the Output Window to a Word document. (I know this is low-tech, but I
just want to save the output in a readable and reasonably compact form
with a minimum of effort.) This usually works OK except when I have
wide output, which SAS wraps within each page, making the output hard to
read. For some reason, SAS seems to ignore the linesize and pagesize
options I set. For example, when I specify the following options
(designed to fit on a landscape page using SAS Monospace 8-point font)
options nocenter nonumber nodate;
opti...Using ExecWB to control font size in a WebBrowser control
I'm muddling my way through some simple development in vba for access
xp. At one point I wanted to set the font size in a web browser control
to the smallest available size (zero). I found the relevant kb article:
However when I tried the following code (based on the examples in the kb
article) it didn't work:
Private Sub SetZero_Click()
Dim Z As Variant 'Z is the value to hold the zoom level.
WebBrowser.ExecWB OLECMDID_ZOOM, OLECMDEXECOPT_DONTPROMPTUSER, Null, Z
If Z > 0 Then
Z = 0
WebBrowser.ExecWB OLECMDID...Issues with resizing subplots: limits to maximum subplot size?
I'd like to create a 1x4 subplot where figures are spaced evenly. To do this I expected to execute a simple script like the following:
set(h(n),'units','points','position',[100*n 50 50 50])
which makes the four subplots correctly spaced
However, when I, say, double the size of the individual subplot (and double the spacing) by adjusting the corresponding line above to:
set(h(n),'units','points','position',[200*n 100 100 100])
only t...Size of control/logic vs Size of data/storage
In the Von Neumann model, we see a separation of control/logic
I have a query which slightly deviates from the above.
I want to know if thought has been applied to arrive at
size of control/logic versus size of data/storage.
Can readers of this forum point me to the theory on size of
control/logic part versus the size of data/storage part ?
Basically, I wanted to learn the space complexities of
control/logic and data/storage.
Relevant to comp.arch is the concept of amount of
resources dedicated to functi...matlab subplot
I would like to just have one title for my x-axis for four subplots in quadrants - is this possible? Thanks
On 10-11-08 03:06 PM, J G wrote:
> I would like to just have one title for my x-axis for four subplots in
> quadrants - is this possible?
Probably the simplest thing to do is to create the subplots, find the position
of the upper boundary, and text() a title in to place at an appropriate
distance from that upper boundary. Chances are that when the subplots were
created, some whitespace was left above the subplots.
If you find the above to not be robust enough, then ...subplot sizes?
A fairly simple question today:
I have a figure that shows a variable number of subplots,
arranged in a square. For example, for n=24 images:
This works satisfactorily, but most of the space in the
figure is taken up by the large margins between the
individual subplots. I know that a solution would be to
place the axes for each subplot individually, instead of
using the subplot function, but that's pretty ugly.
Is there a simple way to tell Matlab to place its subplots
&qu...Size of controls
After I have made my previous posting "Changing the size of a control" I
found out that it is likely to be impossible to change the height of a
wxChoice (at least on the Mac). Nevertheless, find it pretty useful.
When using mini frames standard sized controls (like buttons, choices,
text controls etc.) look pretty bad. Therefore, it would be nice to have
controls that somehow fit to the concept of a mini frame.
On the Mac the Interface Builder offers three choices for the control's
size: regular, small and mini (small is the likely choice for a well
sized control ...Problems resizing, increasing font size, control size etc
I need to provide a facility whereby my Clarion program (Clarion 5b)
maintains it's design size no matter what resolution the user is using
(with a minimum of 800x600, the design size). I've got this working
perfectly for window size and control size, I've even got the font
sizing done ok. What I'm falling over on are the following items;
1. MESSAGE() window size. No matter what I try, the font might get
bigger but the window never increases in size to accomodate the actual
text (it looks terrible too). Designing my own message window isn't
an option, even by ...subplot size
I am using the following command to create a 3*1 subplot.
subplot(3,1,k). This command is in a loop with k change from 1 to 3.
The subplot command geneartes a figure which is approximately 10cm*10cm on my screen. What is the command to enlarge this size to, say, 15*15 cm?
Try to use set(gcf,'Position',[x0 y0 width hight])
where [x0 y0] is the position of the bottom left corner of the figure, whilst the third and fourth numbers are the width and hight of the figure.
"Leyo Joseph" <firstname.lastname@example.org> wrote in message <email@example.com...change matlab workspace font size and editor font size
I wish to change the workspace font size and the editor font size. How do I do it?
Thanks in advance,
I have the suggestion in another question posted earlier.
"langtran" <firstname.lastname@example.org> wrote in message
> dear all
> I wish to change the workspace font size and the editor font size. How do
> I do it?
> Thanks in advance,
Open the Preference window using the Preferences menu item on the File menu.
There is a Fonts item in the Preferences that will let ...Re: Controlling line size and page size procedure output
On Mon, 20 Nov 2006, John Faustini wrote:
> I often save listing output from SAS PROCs by cutting and pasting from
> the Output Window to a Word document. (I know this is low-tech, but I
> just want to save the output in a readable and reasonably compact form
> with a minimum of effort.) This usually works OK except when I have
> wide output, which SAS wraps within each page, making the output hard to
> read. For some reason, SAS seems to ignore the linesize and pagesize
> options I set. For example, when I specify the following options
> (designed to fit on a land...