MathGroup Archive 2008

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

Search the Archive

Re: how to get rid of quotation marks in out put data

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92260] Re: [mg92243] how to get rid of quotation marks in out put data
  • From: "Thomas Dowling" <thomasgdowling at gmail.com>
  • Date: Thu, 25 Sep 2008 05:30:33 -0400 (EDT)
  • References: <200809240730.DAA13551@smc.vnet.net>

Hello,

I think the function you want is 'ToExpression[ ]'


list = {{"1", "3"}, {"2", "2"}, {"3", "3"}, {"4", "4"}}

ToExpression[list]

and a plot:


ListPlot[ToExpression[list], AxesOrigin -> {0, 0},
 PlotStyle -> {Red, PointSize[Large]}]


On a minor point, and to echo the comments of others, it is useful to
give an actual example that forum contributers can work with, rather than
 a generalized statement of the problem.

Good luck, and I hope I have interpreted your problem correctly.

Tom Dowling

On Wed, Sep 24, 2008 at 8:30 AM, Pasha Karami <karami at geo.uu.nl> wrote:

> Dear All,
>
> I have a data in this format (i get it from StringSplit):
> {{"2","3",............},{"1","2",.....},....}
> I would like to plot these data but I can not and I guess it is because of
> the "" (quotation marks).
> Do you have any idea how I can get rid of them?
>
> Thank you!
> Pasha
>
>
>


  • Prev by Date: Get Graphics Coordinates accuracy
  • Next by Date: Re: Re: the graphic of a function
  • Previous by thread: Re: how to get rid of quotation marks in out put data
  • Next by thread: Re: how to get rid of quotation marks in out put data