SourceForge logo
SourceForge logo
Menu

matplotlib-devel — matplotlib developers

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(33)
Dec
(20)
2004 Jan
(7)
Feb
(44)
Mar
(51)
Apr
(43)
May
(43)
Jun
(36)
Jul
(61)
Aug
(44)
Sep
(25)
Oct
(82)
Nov
(97)
Dec
(47)
2005 Jan
(77)
Feb
(143)
Mar
(42)
Apr
(31)
May
(93)
Jun
(93)
Jul
(35)
Aug
(78)
Sep
(56)
Oct
(44)
Nov
(72)
Dec
(75)
2006 Jan
(116)
Feb
(99)
Mar
(181)
Apr
(171)
May
(112)
Jun
(86)
Jul
(91)
Aug
(111)
Sep
(77)
Oct
(72)
Nov
(57)
Dec
(51)
2007 Jan
(64)
Feb
(116)
Mar
(70)
Apr
(74)
May
(53)
Jun
(40)
Jul
(519)
Aug
(151)
Sep
(132)
Oct
(74)
Nov
(282)
Dec
(190)
2008 Jan
(141)
Feb
(67)
Mar
(69)
Apr
(96)
May
(227)
Jun
(404)
Jul
(399)
Aug
(96)
Sep
(120)
Oct
(205)
Nov
(126)
Dec
(261)
2009 Jan
(136)
Feb
(136)
Mar
(119)
Apr
(124)
May
(155)
Jun
(98)
Jul
(136)
Aug
(292)
Sep
(174)
Oct
(126)
Nov
(126)
Dec
(79)
2010 Jan
(109)
Feb
(83)
Mar
(139)
Apr
(91)
May
(79)
Jun
(164)
Jul
(184)
Aug
(146)
Sep
(163)
Oct
(128)
Nov
(70)
Dec
(73)
2011 Jan
(235)
Feb
(165)
Mar
(147)
Apr
(86)
May
(74)
Jun
(118)
Jul
(65)
Aug
(75)
Sep
(162)
Oct
(94)
Nov
(48)
Dec
(44)
2012 Jan
(49)
Feb
(40)
Mar
(88)
Apr
(35)
May
(52)
Jun
(69)
Jul
(90)
Aug
(123)
Sep
(112)
Oct
(120)
Nov
(105)
Dec
(116)
2013 Jan
(76)
Feb
(26)
Mar
(78)
Apr
(43)
May
(61)
Jun
(53)
Jul
(147)
Aug
(85)
Sep
(83)
Oct
(122)
Nov
(18)
Dec
(27)
2014 Jan
(58)
Feb
(25)
Mar
(49)
Apr
(17)
May
(29)
Jun
(39)
Jul
(53)
Aug
(52)
Sep
(35)
Oct
(47)
Nov
(110)
Dec
(27)
2015 Jan
(50)
Feb
(93)
Mar
(96)
Apr
(30)
May
(55)
Jun
(83)
Jul
(44)
Aug
(8)
Sep
(5)
Oct
Nov
(1)
Dec
(1)
2016 Jan
Feb
Mar
(1)
Apr
May
Jun
(2)
Jul
Aug
(3)
Sep
(1)
Oct
(3)
Nov
Dec
2017 Jan
Feb
(5)
Mar
Apr
May
Jun
Jul
(3)
Aug
Sep
(7)
Oct
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
Jun
Jul
(2)
Aug
Sep
Oct
Nov
Dec
S M T W T F S





1
2
3
4
(3)
5
(9)
6
(3)
7
(3)
8
(4)
9
(7)
10
(2)
11
(10)
12
13
(1)
14
(3)
15
(1)
16
17
18
(3)
19
(9)
20
(24)
21
(8)
22
(21)
23
(2)
24
(1)
25
(4)
26
(3)
27
(6)
28
(18)
29
(7)
30
(3)
31






Showing 10 results of 10

From: Darren D. <dsd...@gm...> - 2009年05月11日 22:53:54
On Mon, May 11, 2009 at 2:56 PM, Christopher Barker
<Chr...@no...>wrote:
> Jouni K. Seppänen wrote:
> > http://en.wikipedia.org/wiki/ClearType
>
> Reading that web page, I'm not convinced MS made the right decision here
> -- on my monitor (which is a ViewSonic LCD, probably pretty standard),
> I'm not sure the ClearType examples really look any better, and they
> certainly could look worse on other displays.
>
That could be because you have an unusual RGB subpixel layout, or because
the implementation of subpixel rendering on your system yields color
fringes. I don't have these problems on my ubuntu or gentoo systems, and
text looks much better on my LCDs when I have subpixel rendering enabled. I
think the users settings should be respected, if possible.
Darren
From: Christopher B. <Chr...@no...> - 2009年05月11日 22:21:38
Freddie Witherden wrote:
> I -- personally -- am not a fan of Microsoft's implementation of 
> subpixel rendering either. I feel that it applies far too heavy 
> hinting to glyphs in order to force them into the pixel grid.
actually, that's a separate issue. the one in that wiki page is taking 
advantage of the fact that a single rgb "pixel" is really three pixels, 
one of each color, and, if you now how those are arranged (and 
apparently they are mostly arranged the same on LCD monitors), you can 
turn on more or less of a color to get a third of the pixel.
> studies have shown that people like what they're used to.
yup. Though I think that MPL is not rendering big blocks of text, the 
there is less "used to" in this case.
> Safari 3 was released for Windows Apple ported their own font 
> rendering engine -- which uses almost no hinting -- provoking many 
> complains from Windows users, who had gotten used to their well hinted 
> glyphs.)
And this is the trick that MS uses to shift glyphs right or left to line 
vertical lines up with the pixel grid. This is nice commentary on a 
bunch of this:
http://www.antigrain.com/research/font_rasterization/
I wonder how the MS tricks do for math -- I'd expect kind of a mess.
-Chris
-- 
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chr...@no...
From: Freddie W. <fr...@wi...> - 2009年05月11日 21:22:49
Hi,
On 11 May 2009, at 19:56, Christopher Barker wrote:
> Jouni K. Seppänen wrote:
>> http://en.wikipedia.org/wiki/ClearType
>
> Reading that web page, I'm not convinced MS made the right decision 
> here
> -- on my monitor (which is a ViewSonic LCD, probably pretty 
> standard), 
> I'm not sure the ClearType examples really look any better, and they
> certainly could look worse on other displays.
I -- personally -- am not a fan of Microsoft's implementation of 
subpixel rendering either. I feel that it applies far too heavy 
hinting to glyphs in order to force them into the pixel grid. However, 
studies have shown that people like what they're used to. (E.g., when 
Safari 3 was released for Windows Apple ported their own font 
rendering engine -- which uses almost no hinting -- provoking many 
complains from Windows users, who had gotten used to their well hinted 
glyphs.)
> I say just turn it off everywhere, it's the safer bet.
If adding a configuration option is not viable (complexity of doing 
so, potentially confusion to users, not enough scope, &c) then yes -- 
disabling it is the safest option. But for those who do have it 
enabled for their desktop it would be good if Matplotlib was able to 
respect that for onscreen rendering.
Regards, Freddie.
From: prosswa <rf...@tq...> - 2009年05月11日 20:22:34
Hello,
 Does anyone know how I could plot contours on a chart like this? 
thanks,
Robert
-- 
View this message in context: http://www.nabble.com/Polar-Plot-tp22590831p23490797.html
Sent from the matplotlib - devel mailing list archive at Nabble.com.
From: Christopher B. <Chr...@no...> - 2009年05月11日 18:55:57
Jouni K. Seppänen wrote:
> http://en.wikipedia.org/wiki/ClearType
Reading that web page, I'm not convinced MS made the right decision here 
-- on my monitor (which is a ViewSonic LCD, probably pretty standard), 
I'm not sure the ClearType examples really look any better, and they 
certainly could look worse on other displays.
Also from that page:
"""
Additionally, when images are prepared to be display-independent (that 
is, when they are prepared for distribution, and not just for display on 
the computer with which they were prepared), ClearType should be turned 
off if rendered text is part of the image. For example, screenshots 
should always be prepared with ClearType turned off. Image-editing 
programs such as Adobe Photoshop or Corel Paint Shop Pro bypass 
ClearType when rendering text directly, for precisely this reason.
"""
I say just turn it off everywhere, it's the safer bet.
-Chris
-- 
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chr...@no...
From: Michael D. <md...@st...> - 2009年05月11日 14:57:40
That plan makes sense to me. 
The argument I was trying to make was against subpixel rendering as a 
property of each Text object in matplotlib -- but later realised that's 
not really applicable to what you're doing with the external math tool 
anyway.
Cheers,
Mike
Freddie Witherden wrote:
> Hi all,
>
> On 11 May 2009, at 12:43, Michael Droettboom wrote:
> 
>> I'm with Eric on this -- let's try to do the right thing without
>> requiring any user intervention. I actually can't think of a use case
>> that would require a subpixel argument on text... am I missing 
>> something?
>> 
>
> Cairo has an image backend, which is usually used for both on-screen 
> rendering and which also supports saving to a file. When displaying on- 
> screen the default is most probably fine -- Cairo gets its subpixel 
> rendering settings from the OS (fontconfig on Linux) so all is well.
>
> However, when saving to a file, depending on its intended use one may 
> either want to enable/disable subpixel antialiasing/rendering. If it 
> is intended for print you probably want to disable it, however, for 
> web graphics subpixel rendering is extremely common.
>
> Furthermore Cairo also has provisions for subpixel antialiasing for 
> line art. (So the same techniques which are applied to text are also 
> applied to polygons, curves &c.) While none of the backends currently 
> make use of it, it is quite likely that in the future the image 
> backend will support it. Therefore a general subpixel antialiasing 
> setting might be a better bet.
>
> I would therefore suggest having two options: one for when printing 
> and another for displaying on screen. The default for printing/saving 
> should probably be off, while the displaying should be got from the 
> system.
>
> Regards, Freddie.
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image 
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Freddie W. <fr...@wi...> - 2009年05月11日 14:53:56
Hi all,
On 11 May 2009, at 12:43, Michael Droettboom wrote:
> I'm with Eric on this -- let's try to do the right thing without
> requiring any user intervention. I actually can't think of a use case
> that would require a subpixel argument on text... am I missing 
> something?
Cairo has an image backend, which is usually used for both on-screen 
rendering and which also supports saving to a file. When displaying on- 
screen the default is most probably fine -- Cairo gets its subpixel 
rendering settings from the OS (fontconfig on Linux) so all is well.
However, when saving to a file, depending on its intended use one may 
either want to enable/disable subpixel antialiasing/rendering. If it 
is intended for print you probably want to disable it, however, for 
web graphics subpixel rendering is extremely common.
Furthermore Cairo also has provisions for subpixel antialiasing for 
line art. (So the same techniques which are applied to text are also 
applied to polygons, curves &c.) While none of the backends currently 
make use of it, it is quite likely that in the future the image 
backend will support it. Therefore a general subpixel antialiasing 
setting might be a better bet.
I would therefore suggest having two options: one for when printing 
and another for displaying on screen. The default for printing/saving 
should probably be off, while the displaying should be got from the 
system.
Regards, Freddie.
From: Jouni K. S. <jk...@ik...> - 2009年05月11日 12:42:29
Maybe people understand different things by the name "subpixel
rendering". In Agg, subpixel rendering means antialiasing like this:
http://www.antigrain.com/screenshots/agg1_01.jpg
In Cairo, I'm guessing (since the OP mentioned Microsoft's ClearType)
that "subpixel rendering" means utilizing the RGB subpixels on LCD
monitors:
http://en.wikipedia.org/wiki/ClearType
A potential problem is that different people have different displays; at
least when configuring CoolType in Adobe Reader, you have a range of
options to select from. I imagine that Cairo has a similar global
setting, and in my opinion Matplotlib should simply respect that setting
when rendering on screen. File output is more complicated: what if the
file is viewed on a different kind of display than it was generated on?
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
From: Michael D. <md...@st...> - 2009年05月11日 11:43:22
I'm with Eric on this -- let's try to do the right thing without 
requiring any user intervention. I actually can't think of a use case 
that would require a subpixel argument on text... am I missing something?
Mike
Eric Firing wrote:
> John Hunter wrote:
> 
>> On Sat, May 9, 2009 at 9:32 AM, Freddie Witherden <fr...@wi...> wrote:
>> 
>>> Hi all,
>>>
>>> As some of you probably know I am working on the GSoC project to
>>> externalise the Mathtex engine from Matplotlib. Today I have been
>>> toying around with the renderer using various backends.
>>>
>>> One of the interesting things that I discovered was that the Cairo
>>> backend was making use of subpixel rendering. (Or 'ClearType' as
>>> Microsoft call it.) This is not surprising -- by default Cairo will
>>> respect a users fontconfig settings when rendering text. Since I have
>>> subpixel rendering enabled all text rendered by Cairo is subpixel
>>> rendered.
>>>
>>> While this is fantastic for on screen text -- being significantly more
>>> pleasing to look at that the text produced by the AGG backend -- it is
>>> unsuitable for print. Now it is not too difficult to disable this,
>>> Cairo has an API call: cairo_font_options_set_antialias to deal with
>>> this.
>>>
>>> While I could write a quick patch to always disable subpixel rendering
>>> it would be something off a loss to those who either view their graphs
>>> onscreen or export them for the web -- where using subpixel rendering
>>> is now surprisingly common.
>>>
>>> Is it worth looking into adding subpixel rendering as a configuration
>>> option?
>>> 
>> The matplotlib.lines.Line2D objects has an antialiased property -- we
>> could add the same property to matplotlib.text.Text to turn on/off
>> subpixel rendering (which could also be supported as an rc param)
>> 
>
> I haven't poked around, so this may be a stupid question, but: for 
> cairo, can subpixel rendering simply be left on for screen display and 
> automatically turned off when writing to a file via savefig? If this 
> can be done, it seems like a better solution than requiring to the user 
> to turn the parameter on and off manually, depending on whether show() 
> or savefig() is being called.
>
> Eric
>
> 
>> JDH
>> 
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image 
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Gary R. <gr...@bi...> - 2009年05月11日 09:32:35
John Hunter wrote:
<snip>
> The matplotlib.lines.Line2D objects has an antialiased property -- we
> could add the same property to matplotlib.text.Text to turn on/off
> subpixel rendering (which could also be supported as an rc param)
> 
> JDH
What are the supported combinations of subpixel rendering and 
antialiasing? Are they mutually exclusive? If Cairo supports both at the 
same time, I don't think it would be a good idea to enable subpixel 
rendering using a property called "antialiased".
Gary R.

Showing 10 results of 10

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /