|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Gnuplot - how do I turn image horizontal
Using gnuplot 4.0
I set terminal to postscript in gnuplot to produce a psfile.ps file. Then use a postscript to gif utility to create a GIF image of a graph. The orientation for the postscript image is set to landscape, but the resulting GIF image opens up vertically, and does the same when displayed in browser. ------- | | | | | | | | | | ------- (left side of graph starts on bottom of screen) (text displayed up-down instead of left-right) I tried setting the orientation to portrait, but even though the text and graph are now horizontal, the image is still vertical. ------- | | | | | | | | | | ------- (graph and text displays horizontal, but image) (still vertical) Is there a way to "turn" the image (or displayed area) so that it is horizontal? --------------------- | | | | --------------------- (graph and text displays horizontal) (image or display area horizontal) Thanks. |
|
#2
|
|||
|
|||
|
I don't understand your distinction between "graph" and "image."
|
|
#3
|
|||
|
|||
|
Gnuplot - how do I turn image horizontal
Sorry about the bad description. Hope this helps explain what I am seeing, and what I want to accomplish.
When I use "set terminal postscript portrait", the graph displays this way- Title on top Graph left to right But graph is thin (left to right) Taller up/down ^ | v When I use "set terminal postscript landscape", the graph displays this way- Title on top Graph left to right But is turned 90% to the left ^ | v I would like for it to be displayed this way- Title on top Graph left to right <---> With this example I am using pbm instead of postscript, but I want to be able to use postscript. Is there a way to turn/rotate or roll the graph or image so that it looks like the 3rd picture? (I tried to include my example GIF images, but could not insert or attach to this post.) Thanks. |
|
#4
|
|||
|
|||
|
Gnuplot - how do I turn image horizontal?
Is there a way to attach my example images to my post?
I don't really understand how the "Insert Image" works. |
|
#5
|
|||
|
|||
|
Gnuplot - how do I turn image horizontal?
example1.gif is when I use "set terminal postscript portrait"
![]() example2.gif is when I use "set terminal postscript landscape" ![]() example3.gif is when I use "set terminal pbm" ![]() I would like for the postscript version to display like the pbm version (image horizontal). Is there a way to do this? |
|
#6
|
|||
|
|||
|
Okay, I think I see. Try
Code:
set terminal postscript eps |
|
#7
|
|||
|
|||
|
gnuplot - how do I turn image horizontal?
Hello All,
I ended up using set terminal postscript eps and epsffit to position it where I needed it on the web page. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Other Programming Languages > Gnuplot - how do I turn image horizontal |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|