in reply to How to creata a Line Graph

A quick search turned up:

Maybe one of those will help? A valid PNG file should display just fine on Windows. I don't know what program would normally show it, but you could try opening it with a browser since they all have PNG support now.

If you show us what you've tried so far, we might be able to help with that.

Replies are listed 'Best First'.
Re^2: How to creata a Line Graph
by Illuminatus (Curate) on Sep 17, 2008 at 01:56 UTC
    I have used GD::Graph::lines, and found it very easy to use. It can also generate gif or jpg format files instead of png. I got it working pretty easily, and the web page for the module is very helpful.
Re^2: How to creata a Line Graph
by azaragoza (Acolyte) on Sep 17, 2008 at 17:52 UTC
    Thanks the GD::Graph::lines Graph worked it created a file that I can display. Here is what I'm trying to graph: Net Debit - Premiums Bought - Premiums sold (47.375 + 7.625) - 21.125 = 33.875 Max Risk - Net Debit 33.875 = $1,693.75 Max Reward - Difference in adjacent strikes - net debit 60 - 33.875 = 26.125 = 5000 X .26125 = $1,30625 Breakeven Down - Lower Strike + net debit 640 + 33.875 = 673.875 Breakeven Up - Higher strike - net debit 760 - 33.875 = 726.125 or 733.875 If entered below curent Strike price Max ROI 290.63% if the stock is priced at $700.00 at expiration How do I enter it into the code: <code> @data = ( "1st","2nd","3rd","4th","5th","6th","7th", "8th", "9th", 1, 2, 5, 6, 3, 1.5, 1, 3, 4, sort { $a <=> $b } (1, 2, 5, 6, 3, 1.5, 1, 3, 4) ); <code>