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

Home » Public Forums » archive » Do you want to make a scatter plot of the square should I do if there?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Do you want to make a scatter plot of the square should I do if there? [message #92008] Wed, 30 September 2015 00:54 Go to previous message
ristight is currently offline  ristight
Messages: 5
Registered: September 2015
Junior Member
I am making a program using the IDL.
I want to make a scatter plot of the square, but the scatter plot of the rectangle is output.
To make a scatter plot of the square, How do you rewrite this program?
Please tell me someone.

;Program
pro scatter1

x1 = fltarr(3600,1200)
y1 = fltarr(3600,1200)
mvk = fltarr(3600,1200)
nrt = fltarr(3600,1200)

fname1='C:\Users\yamamoto\Desktop\mvk_20140430.txt'
fname2='C:\Users\yamamoto\Desktop\nrt_20140430.txt'
openr,1,fname1
openr,2,fname2
readf,1,x1
readf,2,y1

plot,x1,y1,xrange=[0,2000],yrange=[0,2000],color='000000'XL, background='FFFFFF'XL,psym=2,title='20140430 precipitation',xtitle='mvk precipitation [mm]',ytitle='nrt precipitation [mm]'

close, /all
end
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: JOIN POINTS IN A PLOT
Next Topic: Attempt to call undefined procedure: 'DEFAULT' error

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

Current Time: Wed Oct 08 15:14:04 PDT 2025

Total time taken to generate the page: 0.00480 seconds