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

Home » Public Forums » archive » Re: "broken" scale in IDL plot
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: "broken" scale in IDL plot [message #34592 is a reply to message #34564] Mon, 31 March 2003 04:21 Go to previous message
aszazeroth is currently offline  aszazeroth
Messages: 2
Registered: March 2003
Junior Member
David Fanning <david@dfanning.com> wrote in message news:<MPG.18e62f81808da424989b28@news.frii.com>...
> aszazeroth (aszazeroth@yahoo.com) writes:
>
>> I was wondering if anyone have any experience in "breaking" the
>> scaling in IDL plot mode.
>>
>> I would like to plot a 10% of the y-axis in a linear scale and then
>> change to logarithmic (base 10) scale for the rest of the 90%... the
>> x-scale is all linear.
>
> I think you will have to do something like this:
>
> data = Findgen(1000) + 1
> plot, data, Position=[0.15, 0.15, 0.9, 0.35], XStyle=8, $
> YRange=[1,99], YStyle=1
> plot, data, Position=[0.15, 0.35, 0.9, 0.9], XStyle=4, $
> YRange=[101,1000], /YLog, /NoErase
> axis, xaxis=1, xtickformat='(A1)'
>
>
> Cheers,
>
> David

THANX, that made the trick... EXACTLY what I needed to do my plot. Thank you again.

//Aszazeroth
[Message index]
 
Read Message
Read Message
Previous Topic: external routines from MacOSX and how to get at 'em
Next Topic: IDL 6.0

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

Current Time: Fri Oct 10 07:37:27 PDT 2025

Total time taken to generate the page: 1.75936 seconds