Use the low level routine pgmtext, which is used in the examples I gave you.
Docs in http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGMTXT Cheers, Xavier On 3/1/07, Kåre Edvardsen <[EMAIL PROTECTED]> wrote:
Do you also know how to get more than one line in the plot or axis titles? Sometimes I need to have a little longer title than just a few words, and then it probably looks better to put it on two lines instead of one line that becomes wider than the plot area itself. Cheers, Kåre On Wed, 2007-02-28 at 04:43 +0100, Xavier Calbet wrote: Hmm, I see. Another option is NOT to use the nxpanel and just use the PlotPosition Example attached Xavier On 2/27/07, Robert Cumming <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]>, > "Xavier Calbet" <[EMAIL PROTECTED]> wrote: > > I have just added another recipe in the CookBook, > > have a look and see if it is of any help. > > > > http://wiki.jach.hawaii.edu/pdl_wiki-bin/wiki/How_to_plot_graphs_with_two_different_pairs_of_axis_on_the_same_plot > > > > Any comments appreciated. > > Nice. But if I add panels according to > > $w=PDL::Graphics::PGPLOT::Window->new(Device=>"/XSERVE",nxpanel=>4,nypanel=>3); > > then the superposed plot always ends up in the bottom right panel. If > I then comment out the PlotPosition arguments then the two > (unsuperposed) plots land as expected in the first two panels at the > top left. > > I don't see why this should be so! > > /Robert > > > > On 2/27/07, Robert Cumming <[EMAIL PROTECTED]> wrote: > >> In article <[EMAIL PROTECTED]>, > >> Rahman Amanullah <[EMAIL PROTECTED]> wrote: > >> > you can solve this by passing the an array ref with the PlotPosition > >> > option to env. For example > >> > env(0,1,0,1,{PlotPosition=>[0.1,0.9,0.1,0.5]}); > >> > points(...) > >> > env(0,1,0,1,{PlotPosition=>[0.1,0.9,0.5,0.9]}); > >> > lines(...) > >> > >> That works nicely for each plot, but now all my panels get drawn on > >> top of one another. In the last panel position, what's more. > >> > >> I've tried putting in a release() after each env-points-etc block, but > >> that seems to have no effect. > > -- > Robert Cumming, Stockholms observatorium > http://www.astro.su.se/ > > _______________________________________________ > Perldl mailing list > [email protected] > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl > _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
_______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
