Results 1 to 6 of 6

Thread: scatter plot possible?

  1. #1
    Member
    Join Date
    2005-01
    Posts
    17

    Question scatter plot possible?

    I would like to produce a scatter plot. Is there a way to either read in the points from an Excel file, or run a script? I've used a script for drawing a spline, so I'd imagine it's possible to do the same for a scatter plot.

  2. #2
    Administrator Mike.Perry's Avatar
    Join Date
    2001-03
    Posts
    13,499

    Default Re: scatter plot possible?

    Hi

    Can you please explain "scatter plot" to me as I don't understand what you mean by that phrase.

    +

    Take a look at the following thread -

    Excel X,Y Coordinates -->AutoCad????

    Have a good one, Mike

  3. #3
    Member
    Join Date
    2005-01
    Posts
    17

    Default Re: scatter plot possible?

    I'm referring to a 2-d plot of x,y data points, with no lines connecting them. Sorry for the confusion.

    The info in that past post helps, except that I don't want the lines. I'm guessing the answer is simply using a different header (e.g., "points" instead of "line") at the start of the script file -- so now I just need to find the magic word....

    Thanks.

    --------------

    .......Writing "point" at the start of the file gets the first point plotted, but then the script stops running due to a command error (it is looking for a command on the following line, which is another data point). So it seems I need to re-format the script file, but I'm not sure how yet...
    Last edited by ftjaa; 2005-02-03 at 11:17 AM. Reason: new info

  4. #4
    Administrator Mike.Perry's Avatar
    Join Date
    2001-03
    Posts
    13,499

    Default Re: scatter plot possible?

    Hi

    Command ._Point

    Also look at the system variable PDMODE (Command ._DDPType)

    Have a good one, Mike

  5. #5
    Administrator Mike.Perry's Avatar
    Join Date
    2001-03
    Posts
    13,499

    Default Re: scatter plot possible?

    Quote Originally Posted by ftjaa
    .......Writing "point" at the start of the file gets the first point plotted, but then the script stops running due to a command error (it is looking for a command on the following line, which is another data point). So it seems I need to re-format the script file, but I'm not sure how yet...
    Hi

    The Point command works differently to the Line command, therefore you will need to adjust the script file accordingly.

    Hint - Look at how the line command runs within AutoCAD, then look at how the Point commands runs within AutoCAD.

    Have a good one, Mike

  6. #6
    Member
    Join Date
    2005-01
    Posts
    17

    Default Re: scatter plot possible?

    Looks like I just missed your message -- see above for the edit to my last message. I'm not sure of how to format the script file so that ACAD will continue reading in the points after the first one.
    ------------------------------

    ....... OK, just tried inserting a line w/ "point" after each data-point line in the script file, and that works. I have ~ 2000 data point, though, so this could take awhile. There must be a more efficient method.....
    Last edited by ftjaa; 2005-02-03 at 11:31 AM. Reason: new info

Similar Threads

  1. Replies: 4
    Last Post: 2007-03-12, 11:48 AM
  2. Unable to edit plot style table though plot dialog box
    By mike.smith696451 in forum Land Desktop - General
    Replies: 5
    Last Post: 2006-12-20, 02:11 PM
  3. Plot 2 No Copies. 1st Plot is ok! 2nd Plot moves on the paper.
    By gianluca.giusti in forum AutoCAD Plotting
    Replies: 1
    Last Post: 2006-05-18, 11:02 AM
  4. Replies: 9
    Last Post: 2006-04-28, 08:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •