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

Home » Public Forums » archive » Bug report: plot title
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Bug report: plot title [message #89618 is a reply to message #89600] Sat, 01 November 2014 10:11 Go to previous message
markb77 is currently offline  markb77
Messages: 217
Registered: July 2006
Senior Member
hi Dick, thanks for looking into this.

I maintain, however, that this is a BUG.

consider the following:

-------------

pro plot_title_bug

mydata_x = indgen(100)
mydata_y = sin(mydata_x * !pi/25.0)

plotfont = 'Courier'
mycolor = [255,0,0]

myplot = plot(mydata_x, $
mydata_y, $
font_name=plotfont, $
font_color=mycolor)

print, 'Plot properties before setting title:'
print, 'Font name: ', myplot.font_name
print, 'Font color: ', myplot.font_color

myplot.title = 'Plot Title'

print, 'Plot properties after setting title:'
print, 'Font name: ', myplot.font_name
print, 'Font color: ', myplot.font_color

print, !version

end


------------

output:

Plot properties before setting title:
Font name: Courier
Font color: 255 0 0
Plot properties after setting title:
Font name: Helvetica
Font color: 0 0 0
{ x86_64 Win32 Windows Microsoft Windows 8.3 Nov 15 2013 64 64}


Surely setting the Title property of the plot shouldn't change other properties of the plot in this way?

Looks like a bug to me.

Mark
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Best routines for mapping satellite images
Next Topic: Fwd: Announcing RSI User-Contributed Library

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

Current Time: Wed Oct 08 13:52:10 PDT 2025

Total time taken to generate the page: 0.00400 seconds