APS Excellence in Physics Education Award
November 2019
Science SPORE Prize
November 2011
The Open Source Physics Project is supported by NSF DUE-0442581.
change titles of ploattingPanel
post and replies
Return to the change titles of ploattingPanel thread
Login to post to this thread
change panel of plottingPanel
October 15, 2015 3:30AM UTC
John Val
13 Posts
Hi all, I tried to change the axis titles in the javascript version with the instruction _view.plottingPanel.setProperty("TitleY","new text") in a custom function But it does not work. What should I do to make it work? Yours, John
Re: change panel of plottingPanel -
Oct 15 3:56AM UTC
Francisco Esquembre
237 Posts
This works: _view.plottingPanel.setProperty("TitleY","velocity"); I just tested it. But make sure this sentence is called! To test it, place it in an Initialization page. Paco
Re: Re: change panel of plottingPanel -
Oct 15 3:25PM UTC
John Val
13 Posts
Hi Paco, Thanks a lot. So I was on the right track. What I did wrong is that I did set the title for the plottingPanel in the HTML view. It seems impossible to change the title afterwards. John