gnucap-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnucap-devel] Gnucap Integrated waveform displayer Details


From: Abhinav singh
Subject: Re: [Gnucap-devel] Gnucap Integrated waveform displayer Details
Date: Wed, 4 Jun 2014 18:07:50 +0530

Here is the sample of gnucap session log which meant to lead to a plot:

//Your circuit description//
.store type of analysis (probe names)    //Is it necessary to use??
.plot type of analysis (probe names) [Here user can define their
                                                    preference related
to  plot like
                                                 axis limit,range of
plotting value,
                                                     labels,type of grid and
                                                     title of graph ]
.end

Now the problem is that user can only able to view one output window
at a time for now what i have implemented so far and no further
commands get executed unless the output window is closed(trying to
sort it out).

Next the approach:-

First retrieve the stored data from wave object into structure called
"plotting vector". What "plotting vector" contains:-  A "plotting
vector" is a structure associated with each probe which we need to
plot out. In each "plotting vector" there is node name, probe data,
max and min value of data, type of line style and color if user want
something different from default one and legend.

Next from these "plotting vector" structure we will creates a graph
structure whose data is directly used for plotting. As we cannot use
directly the "plotting vector" data as it is needed to be modified
according to requirements.

What exactly is the plotting window??
For a time being plotting window is a simple gtk window with a drawing
area widget in it. It is created and destroyed with every plot
command.This is the main reason why we cannot have multiple window
open at same time.


I will upload code snippets by tomorrow on my gnucap repo.

Any questions or suggestions?

Thanks,

Abhinav Kumar Singh



reply via email to

[Prev in Thread] Current Thread [Next in Thread]