|
From: oren <or...@gm...> - 2014-11-02 01:40:48
|
How can I save a matplotlib figure with text as a postscript image and that the text will be saved as text. Currently when I save the image as postscript all the text in the image ( xlabel, ylabel etc.. ) is saved as path and not as text.. Is it possible to save it as text? If I use the following code ( use latex) matplotlib.rcParams["text.usetex"] = True and save the image as postscript the text is saved as text.. But I do not want to use latex.. Is it possible without latex? Thanks Question also on stackoverflow http://stackoverflow.com/questions/26649266/matplotlib-save-image-as-postscript-when-xlabel-is-saved-as-text-and-not-path -- View this message in context: http://matplotlib.1069221.n5.nabble.com/matplotlib-save-image-as-postscript-when-xlabel-is-saved-as-text-and-not-path-tp44261.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Oren <or...@gm...> - 2014-11-03 15:11:58
|
Anyone know how to solve this thing? Thanks. On 2 November 2014 03:40, oren <or...@gm...> wrote: > How can I save a matplotlib figure with text as a postscript image and that > the text will be saved as text. Currently when I save the image as > postscript all the text in the image ( xlabel, ylabel etc.. ) is saved as > path and not as text.. Is it possible to save it as text? > > If I use the following code ( use latex) > > matplotlib.rcParams["text.usetex"] = True > and save the image as postscript the text is saved as text.. But I do not > want to use latex.. Is it possible without latex? > > > Thanks > > > Question also on stackoverflow > > http://stackoverflow.com/questions/26649266/matplotlib-save-image-as-postscript-when-xlabel-is-saved-as-text-and-not-path > > > > -- > View this message in context: > http://matplotlib.1069221.n5.nabble.com/matplotlib-save-image-as-postscript-when-xlabel-is-saved-as-text-and-not-path-tp44261.html > Sent from the matplotlib - users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Paul H. <pmh...@gm...> - 2014-11-03 19:40:26
|
What happens when you save as a postscript file with matplotlib.rcParams["text.usetex"] = False? -paul On Mon, Nov 3, 2014 at 7:11 AM, Oren <or...@gm...> wrote: > Anyone know how to solve this thing? > > Thanks. > > On 2 November 2014 03:40, oren <or...@gm...> wrote: > >> How can I save a matplotlib figure with text as a postscript image and >> that >> the text will be saved as text. Currently when I save the image as >> postscript all the text in the image ( xlabel, ylabel etc.. ) is saved as >> path and not as text.. Is it possible to save it as text? >> >> If I use the following code ( use latex) >> >> matplotlib.rcParams["text.usetex"] = True >> and save the image as postscript the text is saved as text.. But I do not >> want to use latex.. Is it possible without latex? >> >> >> Thanks >> >> >> Question also on stackoverflow >> >> http://stackoverflow.com/questions/26649266/matplotlib-save-image-as-postscript-when-xlabel-is-saved-as-text-and-not-path >> >> >> >> -- >> View this message in context: >> http://matplotlib.1069221.n5.nabble.com/matplotlib-save-image-as-postscript-when-xlabel-is-saved-as-text-and-not-path-tp44261.html >> Sent from the matplotlib - users mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |
|
From: Paul H. <pmh...@gm...> - 2014-11-03 19:57:07
|
Can just go straight to PDF? What happens then? It might also be informative to explain why using LaTeX is undesirable in your situation. -p On Mon, Nov 3, 2014 at 11:52 AM, Oren <or...@gm...> wrote: > Thanks for the respond Paul, But It still the same... > > This is how it looks like when I use > matplotlib.rcParams["text.usetex"] = False ( or noting at all ) > > [image: Inline images 1] > > > > and this is when I use > matplotlib.rcParams["text.usetex"] = True > > [image: Inline images 2] > > > > > > As you can see, One is text and the other is path of points.. > > > Thank You, > Oren. > > > > > On 3 November 2014 21:40, Paul Hobson <pmh...@gm...> wrote: > >> What happens when you save as a postscript file with >> matplotlib.rcParams["text.usetex"] = False? >> -paul >> >> On Mon, Nov 3, 2014 at 7:11 AM, Oren <or...@gm...> wrote: >> >>> Anyone know how to solve this thing? >>> >>> Thanks. >>> >>> On 2 November 2014 03:40, oren <or...@gm...> wrote: >>> >>>> How can I save a matplotlib figure with text as a postscript image and >>>> that >>>> the text will be saved as text. Currently when I save the image as >>>> postscript all the text in the image ( xlabel, ylabel etc.. ) is saved >>>> as >>>> path and not as text.. Is it possible to save it as text? >>>> >>>> If I use the following code ( use latex) >>>> >>>> matplotlib.rcParams["text.usetex"] = True >>>> and save the image as postscript the text is saved as text.. But I do >>>> not >>>> want to use latex.. Is it possible without latex? >>>> >>>> >>>> Thanks >>>> >>>> >>>> Question also on stackoverflow >>>> >>>> http://stackoverflow.com/questions/26649266/matplotlib-save-image-as-postscript-when-xlabel-is-saved-as-text-and-not-path >>>> >>>> >>>> >>>> -- >>>> View this message in context: >>>> http://matplotlib.1069221.n5.nabble.com/matplotlib-save-image-as-postscript-when-xlabel-is-saved-as-text-and-not-path-tp44261.html >>>> Sent from the matplotlib - users mailing list archive at Nabble.com. >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> _______________________________________________ >>>> Matplotlib-users mailing list >>>> Mat...@li... >>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> >>> >> > |