MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Using a List for the Listplot x-labels

  • To: mathgroup at smc.vnet.net
  • Subject: [mg63657] Re: [mg63638] Using a List for the Listplot x-labels
  • From: "David Park" <djmp at earthlink.net>
  • Date: Mon, 9 Jan 2006 04:48:37 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Uwe,

As an example...

lista = {0, 1, 3, 5, 8, 11, 15, 16};
listb = Sin[#/Pi]#^2 & /@ lista;

Show[Graphics[
    {AbsolutePointSize[5], Point /@ Transpose[{lista, listb}]}],
  Frame -> True,
  FrameLabel -> {x, f},
  ImageSize -> 500]

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/ 

From: Uwe Ziegenhagen [mailto:newsgroup at ziegenhagen.info]
To: mathgroup at smc.vnet.net


Hello,

I have a list 'a' and use a function on this list to receive list 'b'.
When I create a ListPlot the x-labels go from 1 to n, I would like to
use the original list. Can someone give me a hint?

Uwe



  • Prev by Date: Re: bug in PlotLegend?
  • Next by Date: Re: Performance improvement needed - Help.
  • Previous by thread: Re: Using a List for the Listplot x-labels
  • Next by thread: Re: Using a List for the Listplot x-labels