Boat Design Forums  |  Boat Design Directory  |  Boat Design Gallery  |  Boat Design Wiki (beta)  |  Boat Design Book Store  |  Thanks to Our Site Sponsors  |  Sitemap

Go Back   Boat Design Forums > Design > Sailboats
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-16-2007, 11:48 AM
Eric W. Sponberg's Avatar
Eric W. Sponberg Eric W. Sponberg is offline
Senior Member
 
Join Date: Dec 2001
Rep: 223 Posts: 494
Location: St. Augustine, FL
VPP polar diagrams

Does anyone know if Microsoft Excel can create a polar diagram, such as from VPP output? I have looked into this somewhat in the past and have not come up with an answer, other than it may be possible to create a custom VPP polar diagram in Excel's custom chart function. Has anyone ever done this, and if so, be willing to offer the instructions on how to create one?

I ask this because I have a fairly good VPP program that runs in DOS, and the output can go to a text file which can then be read into Excel. But the chart does not come through, and the DOS version of the chart does not make a very good presentation. An Excel polar diagram would be much better.

I welcome anyone's input. Thanks.

Eric
__________________
Eric W. Sponberg
Naval Architect
St. Augustine, FL
(904) 460-9494
Reply With Quote
  #2  
Old 12-16-2007, 01:25 PM
DuncanG DuncanG is offline
Junior Member
 
Join Date: Oct 2007
Rep: 10 Posts: 12
Location: Scotland
The last time I tried this (a few years ago) i couldn't do it in Excel and ended up modifying GnuPlot to get the result I wanted.

I'll dust it off and see if its still usable.

You wouldn't happen to have any IMS .off files I could use, would you? What Vpp are you using?
Reply With Quote
  #3  
Old 12-16-2007, 01:28 PM
tuks tuks is offline
Junior Member
 
Join Date: Jun 2007
Rep: 35 Posts: 78
Location: SA
I just tried the standard "radar" chart, it looks ok, but the angle label is oddly placed. I can email the spreadsheet if it would help, it's very rough though.

Edit : Sorry, just looked a little closer and its not the label placement, the angles are all wrong.
Reply With Quote
  #4  
Old 12-16-2007, 04:39 PM
gggGuest gggGuest is offline
...
 
Join Date: Feb 2005
Rep: 21 Posts: 262
Location: UK
Quote:
Originally Posted by Eric W. Sponberg View Post
Does anyone know if Microsoft Excel can create a polar diagram, such as from VPP output?
Eric
Yes, but you have to do a lot of fiddling in order to get the angles right.
Reply With Quote
  #5  
Old 12-16-2007, 05:01 PM
Tim B Tim B is offline
Senior Member
 
Join Date: Jan 2003
Rep: 279 Posts: 1,125
Location: Southern England
I believe the following GNUPLOT script will do it...

set polar
set xrange [0:180]
set grid
set xlabel 'True Wind Angle (deg)'
set ylabel ' Boat Speed (m/s)'
set title 'Boat Speed at wind speed of #x# m/s'
plot 'datafile' using 1:2 with linespoints

That should plot your data. replace 1:2 above, with your x,y columns.

GNUPLOT manual is at www.gnuplot.info/docs/gnuplot.pdf

Hope this helps,

Tim B.
__________________
Open Source Marine Charting - openpilot.sourceforge.net
Supported by engineering.selfip.org
Reply With Quote
  #6  
Old 12-16-2007, 08:59 PM
Gramp34 Gramp34 is offline
Junior Member
 
Join Date: Mar 2007
Rep: 10 Posts: 12
Location: Ontario, Canada
You can put individual lines on a plot in Excel by leaving a blank row in the x-y data. Use an X-Y plot with lines but no points, then format the chart until it looks the way you want.

For example, the data below will draw radial lines from the origin every 30 degrees then a set of arcs. (More points will make the arcs smoother.) Since this is done in an X-Y plot, you need to convert all your polar data to x-y points for plotting.

You can use additional columns for the y value on each polar line as a different data series, then can format those lines with different colors, etc.

Hope this helps,

Tim

0.00 0.00
0.00 10.00

0.00 0.00
5.00 8.66

0.00 0.00
8.66 5.00

0.00 0.00
10.00 0.00

0.00 0.00
8.66 -5.00

0.00 0.00
5.00 -8.66

0.00 0.00
0.00 -10.00


0.00 2.00
0.68 1.88
1.29 1.53
1.73 1.00
1.97 0.35
1.97 -0.35
1.73 -1.00
1.29 -1.53
0.68 -1.88
0.00 -2.00

0.00 4.00
1.37 3.76
2.57 3.06
3.46 2.00
3.94 0.69
3.94 -0.69
3.46 -2.00
2.57 -3.06
1.37 -3.76
0.00 -4.00

0.00 6.00
2.05 5.64
3.86 4.60
5.20 3.00
5.91 1.04
5.91 -1.04
5.20 -3.00
3.86 -4.60
2.05 -5.64
0.00 -6.00

0.00 8.00
2.74 7.52
5.14 6.13
6.93 4.00
7.88 1.39
7.88 -1.39
6.93 -4.00
5.14 -6.13
2.74 -7.52
0.00 -8.00

0.00 10.00
3.42 9.40
6.43 7.66
8.66 5.00
9.85 1.74
9.85 -1.74
8.66 -5.00
6.43 -7.66
3.42 -9.40
0.00 -10.00
Reply With Quote
  #7  
Old 12-16-2007, 09:17 PM
MalSmith MalSmith is offline
Mal
 
Join Date: May 2004
Rep: 40 Posts: 44
Location: Australia
I have successfully used the Excel radar chart type in the past. I had to use even divisions for the angles to be plotted, even if there there was no data for any individual angle.

Mal.
Reply With Quote
  #8  
Old 12-17-2007, 03:23 AM
Pelle Pelle is offline
Naval Architect
 
Join Date: Oct 2005
Rep: 10 Posts: 17
Location: Göteborg, Sweden
There are a number of free scripts for doing polar plots in excel out on the net. Just google "excel polar plot" and you will find plenty to choose from.
Reply With Quote
  #9  
Old 12-17-2007, 07:53 AM
DuncanG DuncanG is offline
Junior Member
 
Join Date: Oct 2007
Rep: 10 Posts: 12
Location: Scotland
Here's an example from my modified Gnuplot -
Attached Thumbnails
vpp-polar-diagrams-animula2001.gif  
Reply With Quote
  #10  
Old 12-17-2007, 07:55 AM
kenJ kenJ is offline
Senior Member
 
Join Date: Jul 2005
Rep: 51 Posts: 203
Location: Williamsburg, VA
PCSail presents the data in a line graph rather than the polar chart. This is the data from a Pearson 36-2 I recently did. For simplicity I limit the number of vertical wind direction lines, more can be added if desired.
Attached Thumbnails
vpp-polar-diagrams-pearson-36-2.gif  
Reply With Quote
  #11  
Old 12-17-2007, 01:14 PM
Tim B Tim B is offline
Senior Member
 
Join Date: Jan 2003
Rep: 279 Posts: 1,125
Location: Southern England
Sorry,

The GNUplot script I posted above should have included the following lines, before "plot ..."

set angle degrees
set grid polar

There, that should do it...

Tim B.
__________________
Open Source Marine Charting - openpilot.sourceforge.net
Supported by engineering.selfip.org
Reply With Quote
  #12  
Old 12-18-2007, 06:12 AM
Eric W. Sponberg's Avatar
Eric W. Sponberg Eric W. Sponberg is offline
Senior Member
 
Join Date: Dec 2001
Rep: 223 Posts: 494
Location: St. Augustine, FL
Gramp34, Thanks for the advice. I created the polar chart from your data, and I can see that that will work quite nicely.

Tim B, Thanks too. I checked the Gnuplot website, and that looks like some nice Freeware. They seem to have a number of different versions for running on a variety of platforms. I presume I would need to download only one file, but which is the best one for running on Windows XP? They did not make it obvious which one to select.

Eric
__________________
Eric W. Sponberg
Naval Architect
St. Augustine, FL
(904) 460-9494
Reply With Quote
  #13  
Old 12-18-2007, 04:15 PM
Tim B Tim B is offline
Senior Member
 
Join Date: Jan 2003
Rep: 279 Posts: 1,125
Location: Southern England
http://dfn.dl.sourceforge.net/source...gp422win32.zip

Dependant on which project you're looking at on sourceforge it can be confusing. Anyway, that should get you going...

Tim B.
__________________
Open Source Marine Charting - openpilot.sourceforge.net
Supported by engineering.selfip.org
Reply With Quote
  #14  
Old 01-29-2009, 05:06 AM
Emece Emece is offline
 
Join Date: Jan 2009
Rep: 10 Posts: 1
Location: Spain
Gnuplot script

Quote:
Originally Posted by DuncanG View Post
Here's an example from my modified Gnuplot -
DuncanG,

Can you post you Gnuplot script?
Thanks a lot in advance

Emece
Reply With Quote
  #15  
Old 02-10-2009, 11:31 AM
DuncanG DuncanG is offline
Junior Member
 
Join Date: Oct 2007
Rep: 10 Posts: 12
Location: Scotland
email sent
Reply With Quote
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vpp/polar jelfiser Boat Design 1 02-21-2007 06:49 AM
Hunter 36 Polar Diagram kenJ Software 0 07-07-2005 03:59 PM
Wiring Diagrams Willallison Boat Design 14 02-10-2005 11:59 PM
Offsets of Bp-delta diagrams Kreso Boat Design 1 10-06-2004 11:00 AM
Yacht Velocity Polar diagrams MikeJohns Boat Design 8 09-07-2004 12:06 AM


All times are GMT -5. The time now is 05:08 AM.


Powered by: vBulletin 3 Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Web Site Design and Content Copyright ©1999 - 2009 Boat Design Net