Results 1 to 2 of 2
  1. #1
    cowboy007 is offline Member
    Join Date
    Mar 2009
    Rep Power

    Default Plotting Symbols in Java 2D

    Hello. My first post to this community ;-)
    I am new to Java. Can anybody help howto plot the images attached taking the parameters as below.

    I need to plot 2D symbols based on a range parameters (length only) in my file like this:-

    Man Jimmy exon 4043 4511 . - . Parent=gene1
    Women Ancetsot CDS 4381 4511 . + . Parent=gene1

    Its a tab delimited file. I need to take parameters like 4043 4511. Start and end for the symbol.
    I have attached the symbols file.

    Attached Thumbnails Attached Thumbnails Plotting Symbols in Java 2D-symbols.jpeg  

  2. #2
    toadaly is offline Senior Member
    Join Date
    Jan 2009
    Rep Power


    I would define a java.awt.Shape for these symbols. You can then use Graphics2D.drawShape to render them.

Similar Threads

  1. Help! Plotting a function
    By cvubando in forum New To Java
    Replies: 14
    Last Post: 02-20-2009, 08:34 AM
  2. Problems with graph plotting.
    By oveeye in forum AWT / Swing
    Replies: 2
    Last Post: 02-05-2009, 09:20 AM
  3. graph plotting
    By sirine in forum New To Java
    Replies: 5
    Last Post: 01-25-2009, 04:34 PM
  4. How to print chars with symbols from a string
    By blacksky in forum New To Java
    Replies: 23
    Last Post: 01-06-2009, 02:14 PM
  5. How to cut symbols from a string?
    By gutters in forum New To Java
    Replies: 3
    Last Post: 06-16-2008, 04:47 AM

Posting Permissions

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