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

Home » Public Forums » archive » How to disable tick labels on right and top when using cgMap?
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: How to disable tick labels on right and top when using cgMap? [message #89035 is a reply to message #89034] Thu, 17 July 2014 07:45 Go to previous messageGo to previous message
atmospheric physics is currently offline  atmospheric physics
Messages: 121
Registered: June 2010
Senior Member
Hello David,

It works. Thanks.

I have another question. I am using cgHistoplot function to plot a probability density function (PDF) for my data. When I see the plot, I find that the ticks on x-axis are both inward and outward. How can I disable outward ticks? Where am I going wrong in my below code? Please correct me!!!

Below are the command lines I am using for the plot:

data1 = randomu(seed,99)
data2 = randomu(seed,99)

cgHistoplot,data1, /NAN, DataColorName=cgColor('red'),Thick=3, $
XRange=[0.0,1.2],YRange=[0.0,1.0],Charsize=0.85,/Outline, $
XTitle='data1 / data2',Font=-1, $
XTICKFORMAT='(F0.1)',YTICKFORMAT='(F0.1)', Line_Thick=3, $
XSTYLE=8, YSTYLE=1,/Frequency, $
YTitle='Probablity Density Function (PDF)'

cgHistoplot,data2, /NAN, DataColorName=cgColor('black'),Thick=3, $
Line_Thick=3,/OPLOT,/Frequency,/Outline

cgLegend,Title=['data1', 'data2'], $
LineStyle=[0,0],Length=0.01,Vspace=1.3, $
Color=cgColor('red'),cgColor('black')], $
Location=[0.1,0.95],Charsize=0.68, $
TT_Font='Simplex Roman',/Data

Thanks in advance
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Plotting results from z-buffer are diffrenet than xwindow.
Next Topic: Matrix a*b in loop

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

Current Time: Fri Oct 10 19:59:31 PDT 2025

Total time taken to generate the page: 1.20302 seconds