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

Home » Public Forums » archive » Re: how to create a LOG array from A to B
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 create a LOG array from A to B [message #78994 is a reply to message #78988] Thu, 12 January 2012 13:43 Go to previous messageGo to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
I got it !

a=1.5
b=5.45
N=20

elev=FINDGEN(N)*(ALOG10(b)-ALOG10(a))/(N-1)+ALOG10(a)
elev=10.^elev

PLOT, elev, REPLICATE(1,N), YR=[0,2], XR=[a,b], /XLOG, /XS, /YS,
PSYM=7

nata
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: WIDGET_BASE: Unable to connect to X Windows display: :0.0
Next Topic: Re: Multiple parameters for ZEROFCN

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

Current Time: Fri Oct 10 10:04:44 PDT 2025

Total time taken to generate the page: 0.55878 seconds