# File mrplot/plots/xy.rb, line 69
    def draw_naked(context)
      @datasets.each do |dataset|
      
        content = dataset.content
        
        points        = Array.new
        label_points  = Array.new
        labels        = Array.new
        
        if content.class != ContinousData
          points  = Array.new
          
          # Sort the points by their x-coordinate
          data = sort_plot_data(content)
          
          data.each do |value|
            # Get a new point in plot space
            newpoint    = get_point_by_val(value)
            
            # Add label value
            if value[:label] then
              labels      << value[:label]
            elsif dataset.style.print_values_format
              labels      << dataset.style.print_values_format % newpoint.y
            else
              labels      <<  newpoint.y.to_s
            end
            # Add to the list of points
            newpoint      = @space.transform_to_windowspace(newpoint, context.windowspace)
            points        << newpoint
            # Add label point to list
            label_points  << Point.new(newpoint.x, newpoint.y+6)
          end
        else
          # Generate an array of points in windowspace
          pos = 0.0
          # Get the stepsize using the resolution
          step = 1.0/@space.res
          while pos < 1+step
            # Get the corresponding y coordinate to the position
            newpoint      = get_point_by_pos(pos, content)
            
            # Add label value
            if dataset.style.print_values_format
              labels      << dataset.style.print_values_format % newpoint.y
            else
              labels      <<  newpoint.y.to_s
            end
            # Add to the list of points
            newpoint      = @space.transform_to_windowspace(newpoint, context.windowspace)
            points        << newpoint
            # Add label point to list
            label_points  << Point.new(newpoint.x, newpoint.y+6)
            
            # Go to the next point
            pos += step
          end
        end
        
        if dataset.style.marker 
          # Draw markers
          context.draw_markers(points, dataset.style)
        end
        
        if dataset.style.print_values 
          # Draw value labels
          context.text_array(labels, label_points, dataset.style, :center, :bottom)
        end
        
        if !dataset.style.hide_connections
          # Draw the line segments
          context.draw_line_segments(points, dataset.style)
        end
        
      end
    end