Hello José, at the moment your only option is to recompile the library with a larger value of PL_MAXPOLY.
I see in the source code that this limitation is especially present for hardware fills. Not sure if the PL_MAXPOLY limit is related to the underlying hardware though. An alternative that requires a bit of work is to filter out points from your data that are too close to each other to matter (and then hope no more than 256 - the current limit are left). Regards, Arjen On 2010-12-22 11:00, José Luis García Pallero wrote: > Hello, > I think that PLPlot is a great tool. Thanks to the developers for > their hard work. I'm using PLPlot in order to draw worldmaps with > coastlines. I'm using plfill, plline and plmap functions and I find > they very useful. Nevertheless I have some minor problems (I'm using > PLPlot 5.9.7 compiled by me on a Debian GNU/Linux Sid). > > Using plfill I obtain a the message > > *** PLPLOT WARNING *** > plfill: too many points in polygon > > using polygons with 1000 vertices. Can I change the maximum number of > vertices at runtime or must I recompile the library? > > I'm using the coastlines from > http://rimmer.ngdc.noaa.gov/mgg/coast/getcoast.html that are > downloaded in ascii files with NaN indicators between each piece of > land. I can see that plfill and plline needs that the x and y arrays > contains data without "holes" (separators) > > I think it would be useful that plfill and plline could work with > arrays containing some "labels", for example NaN values (0.0/0.0 in > C), in order to manage several independent polygons or lines as, for > example, coastlines downloaded from > http://rimmer.ngdc.noaa.gov/mgg/coast/getcoast.html > Maybe it would be interesting that plmap or other similar new function > could load a coastline file, not only the internal of PLPlot. This > files could fe in the ascii format as from > http://rimmer.ngdc.noaa.gov/mgg/coast/getcoast.html > > Thanks > DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. ------------------------------------------------------------------------------ Forrester recently released a report on the Return on Investment (ROI) of Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even within 7 months. Over 3 million businesses have gone Google with Google Apps: an online email calendar, and document program that's accessible from your browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew _______________________________________________ Plplot-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-general
