[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [femm] Vector plots + "zoomier"



Eric Vogels wrote:

Hi David.
Will it be possible to switch the new functions on and off with the LUA script as well? Thanks,
Eric.

Yes, it's already in there. In both the belaview version and the femmview version, the lua command is:


showvectorplot(type,scalefactor)

In belaview, the parameters taken are the type of plot, which should be set to 0 for no vector plot, 1 for flux density /D/, and 2 for field intensity /E/. The scalefactor determines the relative length of the vectors. If the scale is set to 1, the length of the vectors are chosen so that the highest flux density corresponds to a vector that is the same length as the current grid size setting.

For the femmview version the type should be set to 0 for no vector plot, 1 for a plot of Re[B], 2 for a plot of Re[H], 3 for a plot of Im[B], 4 for a plot of Im[h], 5 for a plot of both Re[B] and Im[B], and 6 for a plot of both Re[H] and Im[H].

Dave.
--
David Meeker
email: dmeeker@xxxxxxxx
www: http://femm.berlios.de/dmeeker