Hi Joao,
Thanks a lot for the reply.
I have successfully built the example x17c( x17c.cpp) and studied its
behavior. In this sample, when the values of plot points crosses Ymax
and/or Xmax, the plots are shrinked to fit in the existing viewport.
My requirement is, When the plot points crosses YMax and or XMax values.
Instead of shrinking the plot to accommodate the new points in the same
viewport, I would like to add a scroll bar, using which the user can scroll
the view. This would enable the user to see previous points which are gone
out of the view.
Can share any idea how this can be done ?
Thanks for any thoughts on this.
regards,
Piyush L.
> On Monday 16 December 2002 14:12, Piyush Laddha wrote:
> > Hi,
> >
> > I am using Plplot 5.1.0 and tcl/tk 8.4 on Windows NT. I am working on a
> > project that requires real time data plotting. My requirement is that
the
> > plot should be a strip chart. All the new points should be plot on the
> > right hand side with graph sliding to left, making room for new points.
The
> > User can view the full plot using the scroll bars.
> >
> > When we create the Plplotwin object first we need to specify the
viewport
> > and then window. In this we specify the boundary of the graph to be
> > plotted, and there by restricting the size of the plot to be plotted .
> >
> > Is there any way by which we can eliminate the need of the upper limit
of
> > the boundary ( xmax, ymax ) ? Is than any work around which help me to
make
> > continuos plot ?
> >
> > Does anybody has any idea how this can be done in plplot.?
>
> Have you checked the x17c c example? It's a strip chart plotter.
>
> Joao
>
> >
> > Thanks for any help.
> >
> > Piyush L.
>
|