comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » how to split long title text in plot
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
how to split long title text in plot [message #94881] Fri, 17 November 2017 03:05 Go to next message
skymaxwell@gmail.com is currently offline  skymaxwell@gmail.com
Messages: 127
Registered: January 2007
Senior Member
Hi,

I have

gr=PLOT(datax,datay,TITLE=title)

but my title (text) is long and cutting by edge of graphic window.
Is there any way to split my title for 2 lines ?

As example, I have title

Date dataX dataY

Showing in graphics window only

te dataX dat

how get something like that

Date
dataX DataY


Thanks at advance
Re: how to split long title text in plot [message #94882 is a reply to message #94881] Fri, 17 November 2017 03:10 Go to previous messageGo to next message
Markus Schmassmann is currently offline  Markus Schmassmann
Messages: 129
Registered: April 2016
Senior Member
On 11/17/2017 12:05 PM, skymaxwell wrote:
> I have
>
> gr=PLOT(datax,datay,TITLE=title)
>
> but my title (text) is long and cutting by edge of graphic window.
> Is there any way to split my title for 2 lines ?
>
> As example, I have title
>
> Date dataX dataY
>
> Showing in graphics window only
>
> te dataX dat
>
> how get something like that
>
> Date
> dataX DataY

gr=plot(/test,title="Date"+string(10b)+"dataX dataY")
Re: how to split long title text in plot [message #94883 is a reply to message #94881] Fri, 17 November 2017 03:59 Go to previous messageGo to next message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
gr=plot(/test,title="Date!CdataX dataY")

On Friday, November 17, 2017 at 6:05:05 AM UTC-5, skymaxwell wrote:
> Hi,
>
> I have
>
> gr=PLOT(datax,datay,TITLE=title)
>
> but my title (text) is long and cutting by edge of graphic window.
> Is there any way to split my title for 2 lines ?
>
> As example, I have title
>
> Date dataX dataY
>
> Showing in graphics window only
>
> te dataX dat
>
> how get something like that
>
> Date
> dataX DataY
>
>
> Thanks at advance
Re: how to split long title text in plot [message #94884 is a reply to message #94883] Fri, 17 November 2017 04:16 Go to previous message
skymaxwell@gmail.com is currently offline  skymaxwell@gmail.com
Messages: 127
Registered: January 2007
Senior Member
пятница, 17 ноября 2017 г., 15:00:01 UTC+3 пользователь Haje Korth написал:
> gr=plot(/test,title="Date!CdataX dataY")
>
> On Friday, November 17, 2017 at 6:05:05 AM UTC-5, skymaxwell wrote:
>> Hi,
>>
>> I have
>>
>> gr=PLOT(datax,datay,TITLE=title)
>>
>> but my title (text) is long and cutting by edge of graphic window.
>> Is there any way to split my title for 2 lines ?
>>
>> As example, I have title
>>
>> Date dataX dataY
>>
>> Showing in graphics window only
>>
>> te dataX dat
>>
>> how get something like that
>>
>> Date
>> dataX DataY
>>
>>
>> Thanks at advance

Thank you for your replies

i know about STRING(10B), but it's not help. It's showing strange symbol (something like that happened if you have wrong encoding)

but using !C is help. Now program works fine.

regards
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: graphics issue since last Windows 10 update ?
Next Topic: Averaging Kernel

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 09:18:55 PDT 2025

Total time taken to generate the page: 0.00403 seconds