Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

SCALE post and replies

Return to the SCALE thread
Login to post to this thread

SCALE - Aug 16, 2013 at 12:10PM
Wallace Barbosa
7 Posts

Dear experts,

I am preparing a free fall software using ejs, but the scale of kinematical grafics have a 10^(-2) factor on time axis.

My code is in attach.

Cheers,
Wallace Barbosa


Replies to SCALE

Re: SCALE - Aug 18 2013 3:24PM
Francisco Esquembre
129 Posts

Wallace,

Is your code attached? I don't see it.

Paco



Re: Re: SCALE - Aug 22 2013 8:33PM
Wallace Barbosa
7 Posts

Francisco,

but get an error when I try to send the code. I can send it by e-mail?

Wallace.

Post edited August 22, 2013 at 10:01 PM EST.



Re: Re: Re: SCALE - Aug 22 2013 10:59PM
lookang Avatar
lookang
107 Posts

zip into *.zip and attach.
hope it helps :)


http://weelookang.blogspot.sg


Re: Re: Re: Re: SCALE - Aug 23 2013 8:41AM
Wallace Barbosa
7 Posts

Helped yes. Thank you.

Post edited August 23, 2013 at 8:42 AM EST.

Attached File: ejs_QuedaLivrefinal.zip



Re: Re: Re: Re: Re: SCALE - Aug 25 2013 9:32PM
lookang Avatar
lookang
107 Posts

i have fixed your graph

for y vs t graph

input X = t

input Y = y

for vy vs t graph

input X = t

input Y = vy

previously your model was input X = t*0.01 thus it is out by a factor of 0.01 i also posted here

http://weelookang.blogspot.sg/2013/08/input-x-t-for-graphs-in-ejs.html

enjoy!

Post edited August 25, 2013 at 9:35 PM EST.

Attached File: 2198_ejs_QuedaLivrefinal.zip


http://weelookang.blogspot.sg


Re: SCALE - Aug 23 2013 6:23PM
Francisco Esquembre
129 Posts

Wallace,

I just run your example. What is the problem?

The plotting panel tries to display the ticks on the axes automatically. When the limits are too big, instead of writing 1200, it uses exponential (scientific) notation and writes 1.2 x 10^3.
In order not to repeat the 10^3 for each tick, it writes it only once in one corner.

Is this what you mean?

Students should get used to this...

Paco

PS: If I misunderstood your post, please let me know.



Re: Re: SCALE - Aug 27 2013 9:12AM
Wallace Barbosa
7 Posts

Francisco,

you do not really understand, but lookang managed to solve my problem in the previous post. I am very grateful for your help.

Cheers,

Wallace



The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics