APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

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

Plot inset with zoom post and replies

Return to the Plot inset with zoom thread
Login to post to this thread

Plot inset with zoom
Fernando Silva Fernandes
10 Posts

Dear Paco

In a Java program with the plot

Y in function of X

I'd like to introduce as inset the plot

Y1 in function of X1

so that I can zoom one or the other. Is it possible? How?

Best wishes,

Fernando


Replies to Plot inset with zoom

Re: Plot inset with zoom -
Francisco Esquembre
228 Posts

If I understand well, this is a possibility that is easy in HTML views (using CSS) but not in Java views. I suggest that you use a TabbedPanel.

Paco



Re: Plot inset with zoom -
Fernando Silva Fernandes
10 Posts

The tabbedPanel is fine.
Many thanks
Fernando



OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book