Re: Figure Float Rotated When Exported: Why?
On 2011-06-13, Rich Shepard wrote: I created a figure using gnuplot (because neither PSTricks nor R can make a bar plot with dates as the x labels), and exported it as PostScript (.ps). When I view the document, the figure is properly oriented, but when I export the file to pdflatex, the figure is rotated 90 degrees counterclockwise. Rotating the figure in the document is necessary so it is properly oriented when the file is compiled. Any ideas why this happened? No. However, you might try the eps option: set terminal postscript eps or, e.g., set terminal postscript eps NimbusRomNo9L-Regu 16 Günter
Re: Figure Float Rotated When Exported: Why?
On Mon, 13 Jun 2011, Julien Rioux wrote: I've seen this happen because of a %%Orientation: Landscape line in the postscript. It's up to the converter to decide how to interpret this and whether to apply a rotation or not. The png and eps converters evidently behave differently. Julien, That's interesting. I saw the same results for both eps and ps (since they are so closely related it's not surprising). Thanks, Rich
Re: Figure Float Rotated When Exported: Why?
On Tue, 14 Jun 2011, Guenter Milde wrote: No. However, you might try the eps option: set terminal postscript eps or, e.g., set terminal postscript eps NimbusRomNo9L-Regu 16 Guenter, Initially I set t postscript eps enhanced and tried to have gnuplot accept the palladio typeface. No joy there. Rather than wasting more time with this, I switched to Times and that worked. The eps output rotated itself so I regenerated the plot as ps; no difference. Both need to be rotated in lyx to appear properly in the generated pdf. Thanks, Rich
Re: Figure Float Rotated When Exported: Why?
On 2011-06-13, Rich Shepard wrote: I created a figure using gnuplot (because neither PSTricks nor R can make a bar plot with dates as the x labels), and exported it as PostScript (.ps). When I view the document, the figure is properly oriented, but when I export the file to pdflatex, the figure is rotated 90 degrees counterclockwise. Rotating the figure in the document is necessary so it is properly oriented when the file is compiled. Any ideas why this happened? No. However, you might try the eps option: set terminal postscript eps or, e.g., set terminal postscript eps NimbusRomNo9L-Regu 16 Günter
Re: Figure Float Rotated When Exported: Why?
On Mon, 13 Jun 2011, Julien Rioux wrote: I've seen this happen because of a %%Orientation: Landscape line in the postscript. It's up to the converter to decide how to interpret this and whether to apply a rotation or not. The png and eps converters evidently behave differently. Julien, That's interesting. I saw the same results for both eps and ps (since they are so closely related it's not surprising). Thanks, Rich
Re: Figure Float Rotated When Exported: Why?
On Tue, 14 Jun 2011, Guenter Milde wrote: No. However, you might try the eps option: set terminal postscript eps or, e.g., set terminal postscript eps NimbusRomNo9L-Regu 16 Guenter, Initially I set t postscript eps enhanced and tried to have gnuplot accept the palladio typeface. No joy there. Rather than wasting more time with this, I switched to Times and that worked. The eps output rotated itself so I regenerated the plot as ps; no difference. Both need to be rotated in lyx to appear properly in the generated pdf. Thanks, Rich
Re: Figure Float Rotated When Exported: Why?
On 2011-06-13, Rich Shepard wrote: >I created a figure using gnuplot (because neither PSTricks nor R can make > a bar plot with dates as the x labels), and exported it as PostScript (.ps). > When I view the document, the figure is properly oriented, but when I export > the file to pdflatex, the figure is rotated 90 degrees counterclockwise. > Rotating the figure in the document is necessary so it is properly oriented > when the file is compiled. >Any ideas why this happened? No. However, you might try the eps option: set terminal postscript eps or, e.g., set terminal postscript eps "NimbusRomNo9L-Regu" 16 Günter
Re: Figure Float Rotated When Exported: Why?
On Mon, 13 Jun 2011, Julien Rioux wrote: I've seen this happen because of a %%Orientation: Landscape line in the postscript. It's up to the converter to decide how to interpret this and whether to apply a rotation or not. The png and eps converters evidently behave differently. Julien, That's interesting. I saw the same results for both eps and ps (since they are so closely related it's not surprising). Thanks, Rich
Re: Figure Float Rotated When Exported: Why?
On Tue, 14 Jun 2011, Guenter Milde wrote: No. However, you might try the eps option: set terminal postscript eps or, e.g., set terminal postscript eps "NimbusRomNo9L-Regu" 16 Guenter, Initially I set t postscript eps enhanced and tried to have gnuplot accept the palladio typeface. No joy there. Rather than wasting more time with this, I switched to Times and that worked. The eps output rotated itself so I regenerated the plot as ps; no difference. Both need to be rotated in lyx to appear properly in the generated pdf. Thanks, Rich
Re: Figure Float Rotated When Exported: Why?
On Mon, 13 Jun 2011 16:43:21 -0700 (PDT) Rich Shepard rshep...@appl-ecosys.com wrote: I created a figure using gnuplot (because neither PSTricks nor R can make a bar plot with dates as the x labels), and exported it as PostScript (.ps). When I view the document, the figure is properly oriented, but when I export the file to pdflatex, the figure is rotated 90 degrees counterclockwise. Rotating the figure in the document is necessary so it is properly oriented when the file is compiled. Any ideas why this happened? Rich, I have no idea why this has happened, but I don't use gnuplot because this kind of thing seems to happen with it. Instead I use xmgrace, which can do exactly what I think you're trying to do, and can export directly to either PDF or EPS, either of which will probably behave better than PS when included as a figure. Les
Re: Figure Float Rotated When Exported: Why?
On 06/13/2011 10:35 PM, Les Denham wrote: On Mon, 13 Jun 2011 16:43:21 -0700 (PDT) Rich Shepardrshep...@appl-ecosys.com wrote: I created a figure using gnuplot (because neither PSTricks nor R can make a bar plot with dates as the x labels), and exported it as PostScript (.ps). When I view the document, the figure is properly oriented, but when I export the file to pdflatex, the figure is rotated 90 degrees counterclockwise. Rotating the figure in the document is necessary so it is properly oriented when the file is compiled. Any ideas why this happened? Not that this will help, but I recall this phenomenon some years ago. For me (using linux) the problem has not reappeared in some time. -- David L. Johnson A foolish consistency is the hobgoblin of little minds, adored by little statesmen and philosophers and divines. --Ralph Waldo Emerson
Re: Figure Float Rotated When Exported: Why?
On Mon, 13 Jun 2011, David L. Johnson wrote: Not that this will help, but I recall this phenomenon some years ago. For me (using linux) the problem has not reappeared in some time. Well, since I've run only linux since 1977, and haven't used gnuplot since 1998, all I can tell you is that it happened with this one plot on a linux box. :-) Personally, I prefer PSTricks, but each day's rainfall total is a discrete amount unrelated to prior and succeeding days. This means that any sort of line plot (including time series) is inappropriate. Such bar plots have a place in scientific work as well as in business (where thay are a mainstay of spreadsheet graphics). Rich
Re: Figure Float Rotated When Exported: Why?
On 13/06/2011 7:43 PM, Rich Shepard wrote: I created a figure using gnuplot (because neither PSTricks nor R can make a bar plot with dates as the x labels), and exported it as PostScript (.ps). When I view the document, the figure is properly oriented, but when I export the file to pdflatex, the figure is rotated 90 degrees counterclockwise. Rotating the figure in the document is necessary so it is properly oriented when the file is compiled. Any ideas why this happened? Rich I've seen this happen because of a %%Orientation: Landscape line in the postscript. It's up to the converter to decide how t interpret this and whether to apply a rotation or not. The png and eps converters evidently behave differently. I think you can safely edit your file to remove the offending line. -- Julien
Re: Figure Float Rotated When Exported: Why?
On Mon, 13 Jun 2011 16:43:21 -0700 (PDT) Rich Shepard rshep...@appl-ecosys.com wrote: I created a figure using gnuplot (because neither PSTricks nor R can make a bar plot with dates as the x labels), and exported it as PostScript (.ps). When I view the document, the figure is properly oriented, but when I export the file to pdflatex, the figure is rotated 90 degrees counterclockwise. Rotating the figure in the document is necessary so it is properly oriented when the file is compiled. Any ideas why this happened? Rich, I have no idea why this has happened, but I don't use gnuplot because this kind of thing seems to happen with it. Instead I use xmgrace, which can do exactly what I think you're trying to do, and can export directly to either PDF or EPS, either of which will probably behave better than PS when included as a figure. Les
Re: Figure Float Rotated When Exported: Why?
On 06/13/2011 10:35 PM, Les Denham wrote: On Mon, 13 Jun 2011 16:43:21 -0700 (PDT) Rich Shepardrshep...@appl-ecosys.com wrote: I created a figure using gnuplot (because neither PSTricks nor R can make a bar plot with dates as the x labels), and exported it as PostScript (.ps). When I view the document, the figure is properly oriented, but when I export the file to pdflatex, the figure is rotated 90 degrees counterclockwise. Rotating the figure in the document is necessary so it is properly oriented when the file is compiled. Any ideas why this happened? Not that this will help, but I recall this phenomenon some years ago. For me (using linux) the problem has not reappeared in some time. -- David L. Johnson A foolish consistency is the hobgoblin of little minds, adored by little statesmen and philosophers and divines. --Ralph Waldo Emerson
Re: Figure Float Rotated When Exported: Why?
On Mon, 13 Jun 2011, David L. Johnson wrote: Not that this will help, but I recall this phenomenon some years ago. For me (using linux) the problem has not reappeared in some time. Well, since I've run only linux since 1977, and haven't used gnuplot since 1998, all I can tell you is that it happened with this one plot on a linux box. :-) Personally, I prefer PSTricks, but each day's rainfall total is a discrete amount unrelated to prior and succeeding days. This means that any sort of line plot (including time series) is inappropriate. Such bar plots have a place in scientific work as well as in business (where thay are a mainstay of spreadsheet graphics). Rich
Re: Figure Float Rotated When Exported: Why?
On 13/06/2011 7:43 PM, Rich Shepard wrote: I created a figure using gnuplot (because neither PSTricks nor R can make a bar plot with dates as the x labels), and exported it as PostScript (.ps). When I view the document, the figure is properly oriented, but when I export the file to pdflatex, the figure is rotated 90 degrees counterclockwise. Rotating the figure in the document is necessary so it is properly oriented when the file is compiled. Any ideas why this happened? Rich I've seen this happen because of a %%Orientation: Landscape line in the postscript. It's up to the converter to decide how t interpret this and whether to apply a rotation or not. The png and eps converters evidently behave differently. I think you can safely edit your file to remove the offending line. -- Julien
Re: Figure Float Rotated When Exported: Why?
On Mon, 13 Jun 2011 16:43:21 -0700 (PDT) Rich Shepardwrote: >I created a figure using gnuplot (because neither PSTricks nor R > can make a bar plot with dates as the x labels), and exported it as > PostScript (.ps). When I view the document, the figure is properly > oriented, but when I export the file to pdflatex, the figure is > rotated 90 degrees counterclockwise. Rotating the figure in the > document is necessary so it is properly oriented when the file is > compiled. > >Any ideas why this happened? > Rich, I have no idea why this has happened, but I don't use gnuplot because this kind of thing seems to happen with it. Instead I use xmgrace, which can do exactly what I think you're trying to do, and can export directly to either PDF or EPS, either of which will probably behave better than PS when included as a figure. Les
Re: Figure Float Rotated When Exported: Why?
On 06/13/2011 10:35 PM, Les Denham wrote: On Mon, 13 Jun 2011 16:43:21 -0700 (PDT) Rich Shepardwrote: I created a figure using gnuplot (because neither PSTricks nor R can make a bar plot with dates as the x labels), and exported it as PostScript (.ps). When I view the document, the figure is properly oriented, but when I export the file to pdflatex, the figure is rotated 90 degrees counterclockwise. Rotating the figure in the document is necessary so it is properly oriented when the file is compiled. Any ideas why this happened? Not that this will help, but I recall this phenomenon some years ago. For me (using linux) the problem has not reappeared in some time. -- David L. Johnson "A foolish consistency is the hobgoblin of little minds, adored by little statesmen and philosophers and divines." --Ralph Waldo Emerson
Re: Figure Float Rotated When Exported: Why?
On Mon, 13 Jun 2011, David L. Johnson wrote: Not that this will help, but I recall this phenomenon some years ago. For me (using linux) the problem has not reappeared in some time. Well, since I've run only linux since 1977, and haven't used gnuplot since 1998, all I can tell you is that it happened with this one plot on a linux box. :-) Personally, I prefer PSTricks, but each day's rainfall total is a discrete amount unrelated to prior and succeeding days. This means that any sort of line plot (including time series) is inappropriate. Such bar plots have a place in scientific work as well as in business (where thay are a mainstay of spreadsheet graphics). Rich
Re: Figure Float Rotated When Exported: Why?
On 13/06/2011 7:43 PM, Rich Shepard wrote: I created a figure using gnuplot (because neither PSTricks nor R can make a bar plot with dates as the x labels), and exported it as PostScript (.ps). When I view the document, the figure is properly oriented, but when I export the file to pdflatex, the figure is rotated 90 degrees counterclockwise. Rotating the figure in the document is necessary so it is properly oriented when the file is compiled. Any ideas why this happened? Rich I've seen this happen because of a %%Orientation: Landscape line in the postscript. It's up to the converter to decide how t interpret this and whether to apply a rotation or not. The png and eps converters evidently behave differently. I think you can safely edit your file to remove the offending line. -- Julien