UPDATE2

Merged with my WX app. Turned out to be straight forward for what I needed.
Basic app needs a few more options(frequency range selection, scaling, png
vs gif), but that's not GD:Graph's fault. Should be easy to pull the
generated file into a PaintDC if you don't want to launch an outboard file
viewer. I may or may not get to that.

See attached code and yes some day I will start using sizers... :-)

Thanks anyway.....


On Mon, Jun 24, 2013 at 1:10 PM, James Lynes <jmlyne...@gmail.com> wrote:

> UPDATE1
>
> Loaded(cpanm) GD::Graph and also the tar ball. Located the stand-alone
> sample line graph code(sample51.pl) and modified slightly for my data.
> Added a system call to run the Gnome viewer(eog) after creating the gif
> file. Will merge into my WX app that's creating the data and see where I
> get.
>
> Comments on this approach are welcome.
>
> James
>
>
>
> On Mon, Jun 24, 2013 at 9:18 AM, James Lynes <jmlyne...@gmail.com> wrote:
>
>> Good Morning!
>>
>> Has anyone used something like GD::Graph to plot a line chart and pop it
>> up on a frame?
>>
>> The posts that I have found seem a little dated, so I'm asking if anyone
>> has revisited this topic lately.
>>
>> Looks like GD::Graph can write a png file which I assume can be read back
>> into a bitmap and displayed with a paintdc. Any samples out there? If not,
>> on to a new learning expedition.
>>
>> Thanks as always!
>>
>> James
>>
>>
>

Attachment: ImpedanceGraph.pl
Description: Binary data

Reply via email to