gnuplot

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

gnuplot

Pavan Shah-2
Hello,
this is not exactly a quantlib question but I thought someone here might be able to help me right away.

I have installed gnuplot 4.6.1.
now what?
how can I graph some sample points in C++?

I want to use gnuplot in my code in visual studio.


thanks
Pavan Shah

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

R: gnuplot

Ballabio Gerardo-4

HI Pavan,

gnuplot is a standalone program. You start it (in a terminal) and run commands and it plots things. It isn’t a library that you can link to your C++ program so as to make it draw graphs directly. Technically it could be possible to reuse its code but it wasn’t designed for that and I don’t think it exposes a clean programming interface. You should make your C++ program write data points to a file, then run gnuplot and have it read them and draw the graphs.

If you want to draw graphs directly from your C++ program, you’d better use other graphics libraries. For example R has powerful graphing capabilities, it can run as a standalone program but does also expose an interface that can be called from C/C++. On the R site (www.r-project.org) you can find a lot of documentation.

 

Gerardo

 

 

Da: Pavan Shah [mailto:[hidden email]]
Inviato: mercoledì 20 febbraio 2013 1.53
A: QuantLib QuantLib
Oggetto: [Quantlib-users] gnuplot

 

Hello,

this is not exactly a quantlib question but I thought someone here might be able to help me right away.

 

I have installed gnuplot 4.6.1.

now what?

how can I graph some sample points in C++?

 

I want to use gnuplot in my code in visual studio.

 

 

thanks

Pavan Shah




Banca Profilo S.p.A. Corso Italia, 49 - 20122 Milano - Tel. 02 58408.1, Fax 02 5831 6057 Capitale Sociale Euro 136.794.106,00 i.v. Iscrizione al Registro Imprese di Milano, C.F. e P.IVA 09108700155 - [hidden email] Iscritta all’Albo delle Banche e dei Gruppi bancari Aderente al Fondo Interbancario di Tutela dei depositi Aderente al Conciliatore Bancario Finanziario e all’Arbitro Bancario Finanziario Appartenente al Gruppo bancario Banca Profilo e soggetta all’attività di direzione e coordinamento di Arepo BP S.p.A. DISCLAIMER: The information transmitted may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: gnuplot

Pavan Shah-2
thanks guys
I will try them out.

I might have follow up questions.

Pavan


On Wed, Feb 20, 2013 at 12:05 AM, Ballabio Gerardo <[hidden email]> wrote:

HI Pavan,

gnuplot is a standalone program. You start it (in a terminal) and run commands and it plots things. It isn’t a library that you can link to your C++ program so as to make it draw graphs directly. Technically it could be possible to reuse its code but it wasn’t designed for that and I don’t think it exposes a clean programming interface. You should make your C++ program write data points to a file, then run gnuplot and have it read them and draw the graphs.

If you want to draw graphs directly from your C++ program, you’d better use other graphics libraries. For example R has powerful graphing capabilities, it can run as a standalone program but does also expose an interface that can be called from C/C++. On the R site (www.r-project.org) you can find a lot of documentation.

 

Gerardo

 

 

Da: Pavan Shah [mailto:[hidden email]]
Inviato: mercoledì 20 febbraio 2013 1.53
A: QuantLib QuantLib
Oggetto: [Quantlib-users] gnuplot

 

Hello,

this is not exactly a quantlib question but I thought someone here might be able to help me right away.

 

I have installed gnuplot 4.6.1.

now what?

how can I graph some sample points in C++?

 

I want to use gnuplot in my code in visual studio.

 

 

thanks

Pavan Shah




Banca Profilo S.p.A. Corso Italia, 49 - 20122 Milano - Tel. 02 58408.1, Fax 02 5831 6057 Capitale Sociale Euro 136.794.106,00 i.v. Iscrizione al Registro Imprese di Milano, C.F. e P.IVA 09108700155 - [hidden email] Iscritta all’Albo delle Banche e dei Gruppi bancari Aderente al Fondo Interbancario di Tutela dei depositi Aderente al Conciliatore Bancario Finanziario e all’Arbitro Bancario Finanziario Appartenente al Gruppo bancario Banca Profilo e soggetta all’attività di direzione e coordinamento di Arepo BP S.p.A. DISCLAIMER: The information transmitted may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: gnuplot

Pavan Shah-2


On Wed, Feb 20, 2013 at 8:45 AM, Pavan Shah <[hidden email]> wrote:
thanks guys
I will try them out.

I might have follow up questions.

Pavan


On Wed, Feb 20, 2013 at 12:05 AM, Ballabio Gerardo <[hidden email]> wrote:

HI Pavan,

gnuplot is a standalone program. You start it (in a terminal) and run commands and it plots things. It isn’t a library that you can link to your C++ program so as to make it draw graphs directly. Technically it could be possible to reuse its code but it wasn’t designed for that and I don’t think it exposes a clean programming interface. You should make your C++ program write data points to a file, then run gnuplot and have it read them and draw the graphs.

If you want to draw graphs directly from your C++ program, you’d better use other graphics libraries. For example R has powerful graphing capabilities, it can run as a standalone program but does also expose an interface that can be called from C/C++. On the R site (www.r-project.org) you can find a lot of documentation.

 

Gerardo

 

 

Da: Pavan Shah [mailto:[hidden email]]
Inviato: mercoledì 20 febbraio 2013 1.53
A: QuantLib QuantLib
Oggetto: [Quantlib-users] gnuplot

 

Hello,

this is not exactly a quantlib question but I thought someone here might be able to help me right away.

 

I have installed gnuplot 4.6.1.

now what?

how can I graph some sample points in C++?

 

I want to use gnuplot in my code in visual studio.

 

 

thanks

Pavan Shah




Banca Profilo S.p.A. Corso Italia, 49 - 20122 Milano - Tel. 02 58408.1, Fax 02 5831 6057 Capitale Sociale Euro 136.794.106,00 i.v. Iscrizione al Registro Imprese di Milano, C.F. e P.IVA 09108700155 - [hidden email] Iscritta all’Albo delle Banche e dei Gruppi bancari Aderente al Fondo Interbancario di Tutela dei depositi Aderente al Conciliatore Bancario Finanziario e all’Arbitro Bancario Finanziario Appartenente al Gruppo bancario Banca Profilo e soggetta all’attività di direzione e coordinamento di Arepo BP S.p.A. DISCLAIMER: The information transmitted may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users