Re: [Plplot-devel] map resolution
At 03:53 AM 13/09/2012 -0700, you wrote: Hi all I was just wondering what the format of the plPlot map files is? The maps included in plPlot are rather low resolution so wondered if it was possible for me to download more detailed ones form somewhere? Phil It was the CIA World DataBank map format. Many years ago I did use higher res versions for something or other - they are out there if you look. http://www.evl.uic.edu/pape/data/WDB/ might be some from what I can see. -Andrew -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel
Re: [Plplot-devel] Fwd: [plplot - plplot-devel] Plplot print problem on Wingcc driver
Hi, The Wingcc printing function uses a Win3.11 API entry point which is simpler (in all respects) than other APIs windows has for printing. One side-effect is it leaves the burden of responsibility for certain things upon the user to ensure all is correct with the printer; consequently you need to change the default aspect ratio of the printer (through the control panel preferences) to the one closest matching that of the plot window, which usually means changing it from portrait (the usual default) to landscape. When that is done I think the printing will do the whole page. -Andrew At 02:48 PM 20/02/2009 +0100, you wrote: Hi list, maybe some of you have an idea. Regards, Werner Begin forwarded message: From: SourceForge.net nore...@sourceforge.net Date: 20. Februar 2009 13:56:19 GMT+01:00 To: nore...@sourceforge.net Subject: [plplot - plplot-devel] Plplot print problem on Wingcc driver Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6474341 By: subrahmanyam52 Hi , When we right click on plplot graph on console window we will get a popupmenu. In Popumenu we have Print option. When we click on the print menu item we are getting the print of the graph. The print page contains only half of the graph. Can you please tell me how to fix this issue. Thanks Subrahmanyam __ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=131157 -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sme...@iap.tuwien.ac.at web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel
Re: [Plplot-devel] plfreetype smooth=1 bug for example 24
I've pinned down the problem, but I'm not quite sure why the code is written the way it is. The problem arises in src/plfreetype.c in FT_PlotChar. There are two different code paths depending on whether the pixel mode is mono (i.e. no anti-aliasing) or not. However, the first path is also taken if icol0 = 0, i.e. the background colour. I can't quite see the logic for this. Normally is is not a problem since you wouldn't display text in the background colour. Example 24 however plots 4 coloured bands so you can't see the background, then switches to the background colour to print the text. The crazy fonts arise because the code assumes a mono font - i.e. each pixel is represented by one bit. This is not the case for the anti-aliased text in the background colour. I've just commented out this special case for icol0 = 0. I don't quite see why it was there in the first place. This fixes example 24. Perhaps someone better familiar with the freetype code could say why this was done originally? My recollection, late at night and a few years down the track, is that with the original anti-aliasing technique (i.e. not the BLENDED ANTIALIASING which 24bit supports, but the ugly anti-aliasing which also works with 8bit), when the text colour had an index of 0, there were either infrequent division by zero errors or some distracting psychedelic anti-aliasing effects/artifacts. I can not remember which for sure, but regardless dropping background coloured text back to non-antialiasing was the quick way to fix the problem which had minimal impact since drawing text with the background colour was virtually never done. In short, it was a quick design compromise to fit the original simplistic code used for anti-alaising when working with limited colours like 8 bit palettes used by GIFs or the lower-resolution drivers of the day. -Andrew -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel
Re: [Plplot-devel] Plotting time axes
At 11:47 AM 23/11/2007 -0800, you wrote: The C library internal representation of time as a time_t variable does have the well-known drawback you mentioned of a rather limited date range for those systems where time_t is defined as a 32-bit integer, see discussion in http://en.wikipedia.org/wiki/Year_2038_problem . Note, however, hardware is rapidly moving to 64-bit right now. For example, my impression from a recent computer buy is that 64-bit has become the norm rather than the exception for new PC's. Thus, on PC's at least, I don't think the above 32-bit time_t issue is going to be relevant for too much longer. Just to put things in context, even 32-bit versions of Windows now treats time internally as an unsinged 64-bit int measured in 100 nanosecond intervals from 1st January 1601. -Andrew - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel
Re: [Plplot-devel] proposed freetype changes
Hello Werner, At 09:42 AM 24/01/2007 +0100, you wrote: Hi, I have a proposed change for the freetype part of plplot: for the wxwidgets driver I'm using not only one scaling factors but two (for x and y), which is nicer if you resize the windows. But since the freetype interface allows to set only one scaling factor, the font output is a mess if I resize the window for the wxwidgets driver if freetype is enabled. I have now replaced the scaling factor scale, by scalex and scaley, made corresponding changes in the code of plfreetype.c and gd.c and wingcc.c (which set both factors to the same value, so here is no impact). Does anyone have objections if I commit that changes? May I make a suggestion ? Keep scale, add scalex and scaley, and add logic so that if scalex and scaley are defined, they are used to scale the plot, but if they aren't then scale is used ? That way the changes will be 100% backwards compatible. -Andrew - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel
Re: [Plplot-devel] The changes to freetype I made today
At 07:43 AM 18/01/2007 -0800, you wrote: Hi Andrew: Those new antialiased results that you showed for -dev png look great. Thanks for adding this capability to plfreetype.c Currently, only the gd-related devices (png, jpeg, and gif) and wingcc take advantage of this capability, but I am sure others who have written device drivers that depend on plfreetype.c will want to take advantage of this additional capability. Alan The down-side is it takes at three times as long to render, but with moderns CPUs, perhaps no one will notice. -Andrew - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel
Re: [Plplot-devel] pdf driver
At 10:53 PM 29/12/2006 +0100, you wrote: Hi, while working on a plot for my thesis I thought it would be cool to have pdf output. I was googling around and found a free pdf library (zlib license) in ANSI C, working on all major platforms: http://libharu.sourceforge.net/index.html Nice ! About five years ago I wrote a PDF driver using a PDF library whose source code was available, but wasn't Open Source - rather some unusual licence - so shelved it. I looked at libharu as an alternative when they first released it, but at the time it was dependent on C++, so I didn't pursue it at all. Having looked at their web page just now, it seems that version 2 is ANSI C - is that right ? Or does it still have dependencies with C++ ? 2) The paper size is hardcoded to A4 in the moment - good for Europeans, bad for anybody else, I need to add some flags for other formats. A4 is probably best for everyone EXCEPT North Americans, so don't feel bad about that ! Might I also suggest letting the user set their own explicit page dimensions using plplot's regular command line options as well as flags for pre-defined sizes ? -Andrew - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel