From: Jesper L. <jes...@gm...> - 2008-12-03 04:44:54
|
Thank you for your answers and the obvious solution (banging head into wall). Best regards, Jesper 2008/12/1 Jae-Joon Lee <lee...@gm...>: > On Mon, Dec 1, 2008 at 12:56 AM, Jesper Larsen <jes...@gm...> wrote: >> Hi Matplotlib users, >> >> I have a web application in which I would like to scale the plots down >> if the users horizontal screen size is less than 800. Currently only >> the plot is scaled while the fonts are fixed in size (see link below >> for application). This is of course not a viable solution. I was >> therefore wondering what the best way to scale fonts consistently with >> figure size is. A requirement is that the scaling is thread safe (or >> whatever it is called) in the sense that it should not affect other >> threads executing matplotlib (since they may have different screen >> resolutions). >> > > Saving the figure with smaller dpi doesn't work? > It is not clear how you're scaling down the over all plot (smaller > figure size, maybe?), > but I guess the easiest way is to have everything same and save it > with a smaller dpi. > > -JJ > |