NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/

Easy Java Simulations (2001- ) => Questions related to EJS => Topic started by: lookang on April 15, 2010, 10:11:09 am



Title: how to make the vectorField2D appears as zero when the value is zero?
Post by: lookang on April 15, 2010, 10:11:09 am
Hi Prof,

how to make the vectorField2D appears as zero when the value is zero?

I trying to make the Bar Magnet vectorField2D appears as zero.

I try many things.
(http://www.phy.ntnu.edu.tw/ntnujava/index.php?action=dlattach;topic=1562.0;attach=2020;image)
change the Graphical Aspect
Visible : hideField==false||vectorfieldmaxopposite>10

Appearance:
minimum
Maximum
Levels
Invis Level


i tried many many things and times, can't get the RHOMBUS to be invisible when the vectorfieldmaxopposite= 0

any ideas?


Title: Re: how to make the vectorField2D appears as zero when the value is zero?
Post by: lookang on April 15, 2010, 10:20:31 am
not to worry

Visible : hideField==false&&vectorfieldmaxopposite>10

it works now!


Title: Re: how to make the vectorField2D appears as zero when the value is zero?
Post by: Fu-Kwun Hwang on April 15, 2010, 05:26:46 pm
Good! You have found ways to solve it.


Title: Re: how to make the vectorField2D appears as zero when the value is zero?
Post by: ahmedelshfie on April 15, 2010, 08:10:10 pm
So interesting Prof i would be improve like it in future  ;)