Borrar filtros
Borrar filtros

implay() -- Properties

8 visualizaciones (últimos 30 días)
Simon Hehenberger
Simon Hehenberger el 2 de Oct. de 2017
Comentada: Lea Corbova el 6 de Nov. de 2020
Hi. I am using the command implay() to view simulation steps of a two dimensional ftdt method and I am using the following code:
h=implay(permute(Hz,[2 1 3]),40);
h.Visual.setPropertyValue('UseDataRange',true);
h.Visual.setPropertyValue('DataRangeMin',-1);
h.Visual.setPropertyValue('DataRangeMax',1);
h.Visual.ColorMap.Map = jet(256);
I am setting the properties of the colormap but when I the "Movie Player" Gui opens I have to click on Tools->Colormap and OK so that the settings are applied. I don't have to manually hack in the properties I want (they are already configured), I just have to click OK.
Does anybody have an idea how I can automate this step?
kind regards, Simon
  1 comentario
Lea Corbova
Lea Corbova el 6 de Nov. de 2020
Maybe you need to create a start up callback function for setting h.Visual.ColorMap.Map = jet(256);
Or maybe this, can be helpful: h=implay(permute(Hz,[2 1 3]),40,'ColorMap',jet);

Iniciar sesión para comentar.

Respuestas (1)

LiquidPhD
LiquidPhD el 12 de Jul. de 2018
It is a bit late, unfortunately, but I think that this may work?
h.Visual.ColorMap.MapExpression = 'jet'
  1 comentario
Jakub Kedzierski
Jakub Kedzierski el 30 de Oct. de 2020
Unfortunately it doesn't.

Iniciar sesión para comentar.

Categorías

Más información sobre Run Multiple Simulations en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by