Re: Change the scale and draw grid
- To: mathgroup at smc.vnet.net
- Subject: [mg41617] Re: Change the scale and draw grid
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Thu, 29 May 2003 08:13:42 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <bb1u09$9cq$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
Ih have not your data and you are unable to add 30 2d points
to you mail, but the following may help
pnts = Table[{1 - 2*Random[], 1 - 2*Random[]}*{1, 5} - {0, 5}, {30}];
Show[Graphics[Point /@ pnts, Frame -> True, AspectRatio -> 1,
PlotRange -> {{0, 2}, Automatic},
GridLines -> {Automatic, Table[i, {i, -10, -6}]}]]
Regards
Jens
Jong Choi wrote:
>
> Dear All,
> As you see(I attached the scale.gif file)
> [contact the author to get the attachment - moderator]
>
> , I have 30 points in the box.
> The points are not on the grid. It means grids do not match the points.
> To make it clear , I have to do two things.
> 1. change the x scale which is increased by 2.5.
> But I want to change from 2.5 to 2.
> 2. I want to draw the grid at y = -10 , y = -8 and y=-6. I know it is very
> difficult.
>
> If you know how to change the axis scale and draw the grids, please let me
> know.
> Thanks,
> Jong
>
> ================================
> Jongung Choi
> Biologically Inspired Robotics Laboratory
> Mechanical and Aerospace Engineering
> Case Western Reserve Univ.
> Cleveland, OH 44106-7222
> Phone: 216-368-5216
> Email: jxc91 at po.cwru.edu, jxc91 at hotmail.com
> Homepage: http://biorobots.cwru.edu/Personnel/jxc/index.html