From: Uwe Klein on
selvam wrote:
> I would be happy to get your inputs.

Are you looking for an essentially static viewer
or is interactivity with the (plotting) window
a requirement?

if a (predominantly) static viewer:

Would the exporting functionality of SU together
with the image handling stuff in TclTk be a solution?

i.e. export viewer data as jpg,png,...( using the cmd line tools
and then create a Tk image from the file and place it on a
(scrolled) canvas.
Run the image creation via [exec ...], boon: caching of processedimages.

Use bindings on the image for interactivity if required.

uwe
From: selvam on
On Sep 8, 7:53 pm, Uwe Klein <uwe_klein_habertw...(a)t-online.de> wrote:
> selvam wrote:
> > I would be happy to get your inputs.
>
> Are you looking for an essentially static viewer
> or is interactivity with the (plotting) window
> a requirement?
>
> if a (predominantly) static viewer:
>
> Would the exporting functionality of SU together
> with the image handling stuff in TclTk be a solution?
>
> i.e. export viewer data as jpg,png,...( using the cmd line tools
> and then create a Tk image from the file and place it on a
> (scrolled) canvas.
> Run the image creation via [exec ...], boon: caching of processedimages.
>
> Use bindings on the image for interactivity if required.
>
> uwe

Thanks for your support ,

I would like to have interactive window.so that the user can scroll
and can be able to zoom any specific part.



From: Arjen Markus on
On 9 sep, 07:24, selvam <s.selvams...(a)gmail.com> wrote:
> On Sep 8, 7:53 pm, Uwe Klein <uwe_klein_habertw...(a)t-online.de> wrote:
>
>
>
>
>
> > selvam wrote:
> > > I would be happy to get your inputs.
>
> > Are you looking for an essentially static viewer
> > or is interactivity with the (plotting) window
> > a requirement?
>
> > if a (predominantly) static viewer:
>
> > Would the exporting functionality of SU together
> > with the image handling stuff in TclTk be a solution?
>
> > i.e. export viewer data as jpg,png,...( using the cmd line tools
> > and then create a Tk image from the file and place it on a
> > (scrolled) canvas.
> > Run the image creation via [exec ...], boon: caching of processedimages..
>
> > Use bindings on the image for interactivity if required.
>
> > uwe
>
> Thanks for your support ,
>
>   I would like to have interactive window.so that the user can scroll
> and can be able to zoom any specific part.- Tekst uit oorspronkelijk bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -

I think you will need to be clearer about your requirements.
Otherwise we can only guess them and we will not answer
the question you have.

First of all: do you want to be able to manipulate the
raw data in your Tcl program?
Then:
- You indicated you want to zoom in. That is certainly possible
if you have the data themselves.
- If not, do you have a bitmap of the graph and do you want
to display portions of it? You can do that and zoom in, but
the bitmap does not contain more resolution than the individual
pixels (do not believe what you see in those modern police
series :)).

For the first option (at least zooming in), I think I have
a useful start: Jos DeCoster has written a package
on top of the Plotchart package that allows zooming in and
zooming out (*). I am not sure it has scrolling capabilities
though. I can send it to you.

Regards,

Arjen

(*) I need to get this into Plotchart, that requires writing
the documentation though.
From: Gerald W. Lester on
Arjen Markus wrote:
> On 9 sep, 07:24, selvam <s.selvams...(a)gmail.com> wrote:
>> On Sep 8, 7:53 pm, Uwe Klein <uwe_klein_habertw...(a)t-online.de> wrote:
>>
>>
>>
>>
>>
>>> selvam wrote:
>>>> I would be happy to get your inputs.
>>> Are you looking for an essentially static viewer
>>> or is interactivity with the (plotting) window
>>> a requirement?
>>> if a (predominantly) static viewer:
>>> Would the exporting functionality of SU together
>>> with the image handling stuff in TclTk be a solution?
>>> i.e. export viewer data as jpg,png,...( using the cmd line tools
>>> and then create a Tk image from the file and place it on a
>>> (scrolled) canvas.
>>> Run the image creation via [exec ...], boon: caching of processedimages.
>>> Use bindings on the image for interactivity if required.
>>> uwe
>> Thanks for your support ,
>>
>> I would like to have interactive window.so that the user can scroll
>> and can be able to zoom any specific part.- Tekst uit oorspronkelijk bericht niet weergeven -
>>
>> - Tekst uit oorspronkelijk bericht weergeven -
>
> I think you will need to be clearer about your requirements.
> Otherwise we can only guess them and we will not answer
> the question you have.
>
> First of all: do you want to be able to manipulate the
> raw data in your Tcl program?
> Then:
> - You indicated you want to zoom in. That is certainly possible
> if you have the data themselves.
> - If not, do you have a bitmap of the graph and do you want
> to display portions of it? You can do that and zoom in, but
> the bitmap does not contain more resolution than the individual
> pixels (do not believe what you see in those modern police
> series :)).
>
> For the first option (at least zooming in), I think I have
> a useful start: Jos DeCoster has written a package
> on top of the Plotchart package that allows zooming in and
> zooming out (*). I am not sure it has scrolling capabilities
> though. I can send it to you.
>
> Regards,
>
> Arjen
>
> (*) I need to get this into Plotchart, that requires writing
> the documentation though.

There is also the ancient, BLT stripchart.


--
+------------------------------------------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+
From: selvam on
On Sep 9, 12:31 pm, Arjen Markus <arjen.markus...(a)gmail.com> wrote:
> On 9 sep, 07:24, selvam <s.selvams...(a)gmail.com> wrote:
>
>
>
> > On Sep 8, 7:53 pm, Uwe Klein <uwe_klein_habertw...(a)t-online.de> wrote:
>
> > > selvam wrote:
> > > > I would be happy to get your inputs.
>
> > > Are you looking for an essentially static viewer
> > > or is interactivity with the (plotting) window
> > > a requirement?
>
> > > if a (predominantly) static viewer:
>
> > > Would the exporting functionality of SU together
> > > with the image handling stuff in TclTk be a solution?
>
> > > i.e. export viewer data as jpg,png,...( using the cmd line tools
> > > and then create a Tk image from the file and place it on a
> > > (scrolled) canvas.
> > > Run the image creation via [exec ...], boon: caching of processedimages.
>
> > > Use bindings on the image for interactivity if required.
>
> > > uwe
>
> > Thanks for your support ,
>
> >   I would like to have interactive window.so that the user can scroll
> > and can be able to zoom any specific part.- Tekst uit oorspronkelijk bericht niet weergeven -
>
> > - Tekst uit oorspronkelijk bericht weergeven -
>
> I think you will need to be clearer about your requirements.
> Otherwise we can only guess them and we will not answer
> the question you have.
>
> First of all: do you want to be able to manipulate the
> raw data in your Tcl program?
> Then:
> - You indicated you want to zoom in. That is certainly possible
>   if you have the data themselves.
> - If not, do you have a bitmap of the graph and do you want
>   to display portions of it? You can do that and zoom in, but
>   the bitmap does not contain more resolution than the individual
>   pixels (do not believe what you see in those modern police
>   series :)).
>
> For the first option (at least zooming in), I think I have
> a useful start: Jos DeCoster has written a package
> on top of the Plotchart package that allows zooming in and
> zooming out (*). I am not sure it has scrolling capabilities
> though. I can send it to you.
>
> Regards,
>
> Arjen
>
> (*) I need to get this into Plotchart, that requires writing
>     the documentation though.

Thanks Arjen,

The problem is, bringing SU to tcl/tk.So So i need to get support
from SU data processing people as well(which i may not ask here).This
is what i have understood,pls correct me if i am wrong.

1) Actually the input data is a binary file(eg. data.su)

2) sxwigb:
a)It reads input file and generates image bitmap of
rasterized wiggles.

b)It creates a window object and places the output of (a) in
the window.

So my requirement could be passing output of (a) to tcl/tk, which is
where i struck with.

Note:
I am digging suxwigb.c and xwigb.c files to see if i can pipe or
write the data as a bitmap and that can be used by our tcl/tk program.
First  |  Prev  |  Next  |  Last
Pages: 1 2 3
Prev: single quote problem
Next: Tcl on Google Android phones