graphing in C++

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

graphing in C++

Pavan Shah-2
hello,
I was wondering if I can plot something using C++.
I have some data stored and I wish to plot it.
but how?

Does QuantLib have any libraries?
if not, can someone suggest something?

thanks
Pavan

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

R: graphing in C++

Ballabio Gerardo-4

If you just want to do some testing, I’d say the simplest thing is to make your program print the x and y coordinates of the points you want to plot, then feed them to an external program which will do the plotting. If you are running Windows, you can use Excel. On Linux, Gnuplot is the first program which comes to my mind. R also has quite sophisticated plotting capability, and is available for both operating systems.

 

Gerardo

 

 

Da: Pavan Shah [mailto:[hidden email]]
Inviato: venerdì 25 gennaio 2013 1.41
A: QuantLib QuantLib
Oggetto: [Quantlib-users] graphing in C++

 

hello,

I was wondering if I can plot something using C++.

I have some data stored and I wish to plot it.

but how?

 

Does QuantLib have any libraries?

if not, can someone suggest something?

 

thanks

Pavan




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.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: graphing in C++

Klaus Spanderen-2
In reply to this post by Pavan Shah-2
Hi
 
I found Rccp (http://cran.r-project.org/web/packages/Rcpp/index.html) quite usefull to plot stuff directly from C++ via R.
 
regards
 Klaus

Pavan Shah <[hidden email]> hat am 25. Januar 2013 um 01:40 geschrieben:
hello,
I was wondering if I can plot something using C++.
I have some data stored and I wish to plot it.
but how?
 
Does QuantLib have any libraries?
if not, can someone suggest something?
 
thanks
Pavan
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users

 

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: graphing in C++

Hennecke, Dr. Martin
In reply to this post by Pavan Shah-2

Hi Pavan,

 

you should have a look at ROOT:

 

http://root.cern.ch/

 

 

Regards,

Martin

 

From: Pavan Shah [mailto:[hidden email]]
Sent: Freitag, 25. Januar 2013 01:41
To: QuantLib QuantLib
Subject: [Quantlib-users] graphing in C++

 

hello,

I was wondering if I can plot something using C++.

I have some data stored and I wish to plot it.

but how?

 

Does QuantLib have any libraries?

if not, can someone suggest something?

 

thanks

Pavan

*****************************************************************
Confidentiality Note: The information contained in this message,
and any attachments, may contain confidential and/or privileged
material. It is intended solely for the person(s) or entity to
which it is addressed. Any review, retransmission, dissemination,
or taking of any action in reliance upon this information by
persons or entities other than the intended recipient(s) is
prohibited. If you received this in error, please contact the
sender and delete the material from any computer.
*****************************************************************


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: graphing in C++

Didrik Pinte-5
In reply to this post by Pavan Shah-2
On 25 January 2013 01:40, Pavan Shah <[hidden email]> wrote:
> hello,
> I was wondering if I can plot something using C++.
> I have some data stored and I wish to plot it.
> but how?
>
> Does QuantLib have any libraries?
> if not, can someone suggest something?

QuantLib has two sets of Python bindings (the official SWIG ones and
PyQL). Getting things plotted in 2D or 3D is very easy on the Python
side where you can get access to robust plotting library for free. For
static 2D plot, you have the great matplotlib library. For 2D
interactive plots or components for application, you have Chaco. And
for 3D, you have Mayavi (interactive, vtk based) or matplotlib.

I can give you some examples if needed.

-- Didrik

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: graphing in C++

Pavan Shah-2
thanks
let me get back to you on this Didrik

Pavan


On Sat, Jan 26, 2013 at 1:27 AM, Didrik Pinte <[hidden email]> wrote:
On 25 January 2013 01:40, Pavan Shah <[hidden email]> wrote:
> hello,
> I was wondering if I can plot something using C++.
> I have some data stored and I wish to plot it.
> but how?
>
> Does QuantLib have any libraries?
> if not, can someone suggest something?

QuantLib has two sets of Python bindings (the official SWIG ones and
PyQL). Getting things plotted in 2D or 3D is very easy on the Python
side where you can get access to robust plotting library for free. For
static 2D plot, you have the great matplotlib library. For 2D
interactive plots or components for application, you have Chaco. And
for 3D, you have Mayavi (interactive, vtk based) or matplotlib.

I can give you some examples if needed.

-- Didrik


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users