Matlab - figure (1), modificar

 
Vista:

figure (1), modificar

Publicado por Andrés (3 intervenciones) el 17/04/2013 00:53:29
Hola,

Alguien sabe, como puedo modificar el contenido de figure(1) sin cerrar la ventan, simplemente que cambie lo que se esta mostrando. Se que es con get y set, pero no encuentro la instruccion indicada.

Gracias.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
Imágen de perfil de JOSE JEREMIAS CABALLERO
Val: 6.975
Oro
Ha mantenido su posición en Matlab (en relación al último mes)
Gráfica de Matlab

figure (1), modificar

Publicado por JOSE JEREMIAS CABALLERO (5917 intervenciones) el 17/04/2013 17:00:03
Podrías ser mas claro en tu pregunta.
Que deseas modificar dentro de la figura?.
¿los xlabel o ylabel o xtick o ytick o text, o legendre o title , numeración de figura o........?.

Leo tu pregunta y tengo varios posibilidades y no puedo deducir que parte de tu figura deseas modificar.


Saludos.
JOSE JEREMÍAS CABALLERO
Asesorías en Matlab
programador en matlab
Servicios de programación matlab
[email protected]

http://matlabcaballero.blogspot.com
http://www.lawebdelprogramador.com/foros/Matlab/1371532-FORMA_DE_APRENDER_MATLAB.html
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar
Imágen de perfil de JOSE JEREMIAS CABALLERO
Val: 6.975
Oro
Ha mantenido su posición en Matlab (en relación al último mes)
Gráfica de Matlab

figure (1), modificar

Publicado por JOSE JEREMIAS CABALLERO (5917 intervenciones) el 17/04/2013 17:25:38
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
clc
clear all
close all
% Specifying Figure Size and Screen Location
% To create a figure window that is one quarter the size of yourscreen and
% is positioned in the upper left corner, use the root object's ScreenSize
% propertyto determine the size.
% ScreenSize is a four-elementvector: [left, bottom, width, height]:
figure(1);
scrsz = get(0,'ScreenSize');
figure('Position',[1 scrsz(4)/2 scrsz(3)/2 scrsz(4)/2])

% Specifying the Figure Window Title
% You can add your own title to a figure by setting the Name propertyand you
% can turn off the figure number with the NumberTitle property:
figure(2)
figure('Name','JOSE JEREMIAS CABALLERO','NumberTitle','off')

figure(3)
x=linspace(-2*pi,2*pi,100); y=sin(x);
plot(x,y)
set(gca,'xtick',[-6 -4 -2 0])

figure(4)
x=linspace(-2*pi,2*pi,100); plot(x,sin(x));
set(gca,'fontsize',16)

figure(5)
x=linspace(-2*pi,2*pi,100);
y=sin(x);  plot(x,y,'-d','markersize',10)
xlabel('Eje OX','fontname','Comic Sans Ms')



EXECUCION
>>figuras2

Saludos.
JOSE JEREMÍAS CABALLERO
Asesorías en Matlab
programador en matlab
Servicios de programación matlab
[email protected]

http://matlabcaballero.blogspot.com


http://www.lawebdelprogramador.com/foros/Matlab/1371532-FORMA_DE_APRENDER_MATLAB.html
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar